From ea1b3b29f7cea76c948e6245ea7414df6a1d031b Mon Sep 17 00:00:00 2001 From: Night Owl Date: Wed, 18 Jan 2017 02:00:51 +0500 Subject: [PATCH] Update CMakeLists.txt. --- cl_dll/CMakeLists.txt | 13 ++++++++++- dlls/CMakeLists.txt | 51 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 62 insertions(+), 2 deletions(-) diff --git a/cl_dll/CMakeLists.txt b/cl_dll/CMakeLists.txt index 7fffb29b..e3eaa38b 100644 --- a/cl_dll/CMakeLists.txt +++ b/cl_dll/CMakeLists.txt @@ -29,6 +29,17 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-write-strings -DLINUX -D_LINUX -Dstricm set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") set (CLDLL_SOURCES + gearbox/hud_nightvision.cpp + ../dlls/gearbox/displacer.cpp + ../dlls/gearbox/knife.cpp + ../dlls/gearbox/eagle.cpp + ../dlls/gearbox/grapple.cpp + ../dlls/gearbox/m249.cpp + ../dlls/gearbox/penguin.cpp + ../dlls/gearbox/pipewrench.cpp + ../dlls/gearbox/shockrifle.cpp + ../dlls/gearbox/sniperrifle.cpp + ../dlls/gearbox/sporelauncher.cpp ../dlls/crossbow.cpp ../dlls/crowbar.cpp ../dlls/egon.cpp @@ -91,7 +102,7 @@ set (CLDLL_SOURCES input_xash3d.cpp scoreboard.cpp MOTD.cpp) -include_directories (. hl/ ../dlls ../dlls/wpn_shared ../common ../engine ../pm_shared ../game_shared ../public) +include_directories (. hl/ ../dlls ../dlls/wpn_shared ../common ../engine ../pm_shared ../game_shared ../public ../dlls/gearbox ) if(USE_VOICEMGR) #set(CLDLL_SOURCES diff --git a/dlls/CMakeLists.txt b/dlls/CMakeLists.txt index cc0063b4..416f1990 100644 --- a/dlls/CMakeLists.txt +++ b/dlls/CMakeLists.txt @@ -29,6 +29,55 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasec set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") set (SVDLL_SOURCES + gearbox/blkop_apache.cpp + gearbox/blkop_osprey.cpp + gearbox/cleansuit_scientist.cpp + gearbox/ctf_gamerules.cpp + gearbox/ctf_items.cpp + gearbox/ctf_powerups.cpp + gearbox/displacer.cpp + gearbox/drillsergeant.cpp + gearbox/eagle.cpp + gearbox/fgrunt_medic.cpp + gearbox/fgrunt_torch.cpp + gearbox/fgrunt.cpp + gearbox/func_tank_of.cpp +# gearbox/gearbox_client.cpp + gearbox/gearbox_effects.cpp + gearbox/gearbox_subs.cpp + gearbox/gearbox_triggers.cpp + gearbox/gearbox_utils.cpp + gearbox/generic_items.cpp + gearbox/geneworm.cpp + gearbox/gonome.cpp + gearbox/grapple_tonguetip.cpp + gearbox/grapple.cpp + gearbox/houndeye_dead.cpp + gearbox/islave_dead.cpp + gearbox/knife.cpp + gearbox/loader.cpp + gearbox/m249.cpp + gearbox/massn.cpp + gearbox/nuclearbomb.cpp + gearbox/otis.cpp + gearbox/penguin.cpp + gearbox/pipewrench.cpp + gearbox/pitdrone.cpp + gearbox/pitworm.cpp + gearbox/recruit.cpp + gearbox/ropes.cpp + gearbox/shock.cpp + gearbox/shockrifle.cpp + gearbox/shockroach.cpp + gearbox/skeleton.cpp + gearbox/sniperrifle.cpp + gearbox/spore_ammo.cpp + gearbox/sporegrenade.cpp + gearbox/sporelauncher.cpp + gearbox/strooper.cpp + gearbox/voltigore.cpp + gearbox/zombie_barney.cpp + gearbox/zombie_soldier.cpp agrunt.cpp airtank.cpp aflock.cpp @@ -131,7 +180,7 @@ set (SVDLL_SOURCES ../pm_shared/pm_shared.c ) -include_directories (. wpn_shared ../common ../engine ../pm_shared ../game_shared ../public) +include_directories (. wpn_shared ../common ../engine ../pm_shared ../game_shared ../public gearbox) if(USE_VOICEMGR) set(SVDLL_SOURCES