mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
Update CMakeLists.txt.
This commit is contained in:
parent
4932178d93
commit
b665904a80
@ -43,7 +43,7 @@ option(USE_VGUI2 "Enable VGUI2. UNDONE" OFF)
|
||||
option(USE_NOVGUI_MOTD "Prefer non-VGUI MOTD when USE_VGUI is enabled" OFF)
|
||||
option(USE_NOVGUI_SCOREBOARD "Prefer non-VGUI Scoreboard when USE_VGUI is enabled" OFF)
|
||||
option(USE_VOICEMGR "Enable VOICE MANAGER." OFF)
|
||||
option(BUILD_CLIENT "Build client dll" ON)
|
||||
option(BUILD_CLIENT "Build client dll" OFF)
|
||||
option(BUILD_SERVER "Build server dll" ON)
|
||||
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 4 OR
|
||||
@ -70,11 +70,11 @@ option(WEAPONS_ANIMATION_TIMES_FIX "Enable animation times fix for some weapons"
|
||||
option(OEM_BUILD "Enable OEM Build" OFF)
|
||||
option(HLDEMO_BUILD "Enable Demo Build" OFF)
|
||||
|
||||
set(GAMEDIR "valve" CACHE STRING "Gamedir path")
|
||||
set(GAMEDIR "gravgun" 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 PC platforms")
|
||||
message(STATUS "Half-Life")
|
||||
message(STATUS "Half-Life: Gravgun")
|
||||
|
||||
#-----------------
|
||||
# MAIN BUILD CODE \
|
||||
|
@ -135,16 +135,21 @@ set (SVDLL_SOURCES
|
||||
world.cpp
|
||||
xen.cpp
|
||||
zombie.cpp
|
||||
prop.cpp
|
||||
gravgun/ar2.cpp
|
||||
gravgun/big_cock.cpp
|
||||
gravgun/coop.cpp
|
||||
gravgun/enttools.cpp
|
||||
gravgun/gateofbabylon.cpp
|
||||
gravgun/gravgun.cpp
|
||||
gravgun/gravgunmod.cpp
|
||||
gravgun/unpredictedweapon.cpp
|
||||
../pm_shared/pm_debug.c
|
||||
../pm_shared/pm_math.c
|
||||
../pm_shared/pm_shared.c
|
||||
coop.cpp
|
||||
gravgunmod.cpp
|
||||
enttools.cpp
|
||||
prop.cpp
|
||||
)
|
||||
|
||||
include_directories (. wpn_shared ../common ../engine ../pm_shared ../game_shared ../public)
|
||||
include_directories (. wpn_shared ../common ../engine ../pm_shared ../game_shared ../public gravgun)
|
||||
|
||||
if(MSVC)
|
||||
set(SVDLL_SOURCES
|
||||
|
Loading…
x
Reference in New Issue
Block a user