Browse Source

Fix DLLs installation for gearbox/opfor

opforfixed
Alibek Omarov 4 years ago
parent
commit
ee580b7652
  1. 4
      CMakeLists.txt
  2. 4
      wscript

4
CMakeLists.txt

@ -39,10 +39,10 @@ option(BUILD_CLIENT "Build client dll" ON) @@ -39,10 +39,10 @@ option(BUILD_CLIENT "Build client dll" ON)
option(BUILD_SERVER "Build server dll" ON)
option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" OFF)
option(64BIT "Disable auto -m32 appending to compiler flags" OFF)
set(GAMEDIR "valve" CACHE STRING "Gamedir path")
set(GAMEDIR "gearbox" CACHE STRING "Gamedir path")
set(SERVER_INSTALL_DIR "dlls" CACHE STRING "Where put server dll")
set(CLIENT_INSTALL_DIR "cl_dlls" CACHE STRING "Where put client dll")
set(SERVER_LIBRARY_NAME "hl" CACHE STRING "Library name for Linux/MacOS/Windows")
set(SERVER_LIBRARY_NAME "opfor" CACHE STRING "Library name for Linux/MacOS/Windows")
#-----------------
# MAIN BUILD CODE \

4
wscript

@ -56,10 +56,10 @@ def options(opt): @@ -56,10 +56,10 @@ def options(opt):
def configure(conf):
# Configuration
conf.env.GAMEDIR = 'valve'
conf.env.GAMEDIR = 'gearbox'
conf.env.CLIENT_DIR = 'cl_dlls'
conf.env.SERVER_DIR = 'dlls'
conf.env.SERVER_NAME = 'hl'
conf.env.SERVER_NAME = 'opfor'
conf.env.PREFIX = ''
conf.load('fwgslib reconfigure')

Loading…
Cancel
Save