Skip to content

Commit 2f73c40

Browse files
committed
Merge branch 'master' into mobile_hacks
2 parents 9f78161 + 6be11c0 commit 2f73c40

File tree

7 files changed

+12
-16
lines changed

7 files changed

+12
-16
lines changed

.github/workflows/manual.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,6 @@ jobs:
9898
run: |
9999
copy build/cl_dll/Debug/client.pdb dist/${{ steps.extract_gamedir.outputs.gamedir }}/cl_dlls/
100100
copy build/dlls/Debug/hl.pdb dist/${{ steps.extract_gamedir.outputs.gamedir }}/dlls/
101-
- name: Delete .lib files from dist
102-
if: startsWith(matrix.os, 'windows')
103-
run: |
104-
Remove-Item -Force -Path dist/${{ steps.extract_gamedir.outputs.gamedir }}/cl_dlls/client.lib
105-
Remove-Item -Force -Path dist/${{ steps.extract_gamedir.outputs.gamedir }}/dlls/hl.lib
106101
- name: Upload linux artifact
107102
if: startsWith(matrix.os, 'ubuntu')
108103
uses: actions/upload-artifact@v4

cl_dll/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ if(HAVE_LTO)
228228
endif()
229229

230230
install( TARGETS ${CLDLL_LIBRARY}
231-
DESTINATION "${GAMEDIR}/${CLIENT_INSTALL_DIR}/"
231+
RUNTIME DESTINATION "${GAMEDIR}/${CLIENT_INSTALL_DIR}/"
232+
LIBRARY DESTINATION "${GAMEDIR}/${CLIENT_INSTALL_DIR}/"
232233
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
233234
GROUP_READ GROUP_EXECUTE
234235
WORLD_READ WORLD_EXECUTE )

cl_dll/menu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ void CHudMenu::InitHUDData( void )
5151
{
5252
m_fMenuDisplayed = 0;
5353
m_bitsValidSlots = 0;
54+
m_iFlags &= ~HUD_ACTIVE;
5455
Reset();
5556
}
5657

cl_dll/wscript

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ def build(bld):
119119
defines = defines,
120120
use = libs,
121121
install_path = install_path,
122-
subsystem = bld.env.MSVC_SUBSYSTEM,
123122
idx = bld.get_taskgen_count()
124123
)
125124

dlls/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ if(HAVE_LTO)
191191
endif()
192192

193193
install( TARGETS ${SVDLL_LIBRARY}
194-
DESTINATION "${GAMEDIR}/${SERVER_INSTALL_DIR}/"
194+
RUNTIME DESTINATION "${GAMEDIR}/${SERVER_INSTALL_DIR}/"
195+
LIBRARY DESTINATION "${GAMEDIR}/${SERVER_INSTALL_DIR}/"
195196
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
196197
GROUP_READ GROUP_EXECUTE
197198
WORLD_READ WORLD_EXECUTE)

dlls/wscript

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def build(bld):
5454
includes = includes,
5555
defines = defines,
5656
install_path = install_path,
57-
subsystem = bld.env.MSVC_SUBSYSTEM,
5857
idx = bld.get_taskgen_count()
5958
)
6059

wscript

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# encoding: utf-8
33
# a1batross, mittorn, 2018
44

5-
from waflib import Build, Configure, Context, Logs
5+
from waflib import Build, Configure, Context, Logs, TaskGen
66
import sys
77
import os
88
import re
@@ -20,6 +20,12 @@ def get_taskgen_count(self):
2020
except: idx = 0 # don't set tg_idx_count to not increase counter
2121
return idx
2222

23+
@TaskGen.feature('cshlib', 'cxxshlib', 'fcshlib')
24+
@TaskGen.before_method('apply_implib')
25+
def remove_implib_install(self):
26+
if not getattr(self, 'install_path_implib', None):
27+
self.install_path_implib = None
28+
2329
def options(opt):
2430
opt.load('reconfigure compiler_optimizations xcompile compiler_cxx compiler_c clang_compilation_database strip_on_install msdev msvs subproject')
2531

@@ -41,12 +47,6 @@ def configure(conf):
4147
conf.load('fwgslib reconfigure compiler_optimizations')
4248
conf.env.MSVC_TARGETS = ['x86' if not conf.options.ALLOW64 else 'x64']
4349

44-
# Force XP compatibility, all build targets should add subsystem=bld.env.MSVC_SUBSYSTEM
45-
if conf.env.MSVC_TARGETS[0] == 'x86':
46-
conf.env.MSVC_SUBSYSTEM = 'WINDOWS,5.01'
47-
else:
48-
conf.env.MSVC_SUBSYSTEM = 'WINDOWS'
49-
5050
# Load compilers early
5151
conf.load('xcompile compiler_c compiler_cxx gccdeps')
5252

0 commit comments

Comments
 (0)