From 758cde57789c5f8bde69161715fe6f1e7df9f99f Mon Sep 17 00:00:00 2001 From: Night Owl Date: Sun, 9 Oct 2016 21:29:39 +0500 Subject: [PATCH] Update CMakeLists.txt. --- cl_dll/CMakeLists.txt | 10 ++++++++++ dlls/CMakeLists.txt | 23 +++++++++++++++++++++-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/cl_dll/CMakeLists.txt b/cl_dll/CMakeLists.txt index 7fffb29b..4ebd3e4d 100644 --- a/cl_dll/CMakeLists.txt +++ b/cl_dll/CMakeLists.txt @@ -29,6 +29,16 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-write-strings -DLINUX -D_LINUX -Dstricm set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") set (CLDLL_SOURCES + hunger/zoom.cpp + ../dlls/hunger/ap9.cpp + ../dlls/hunger/chaingun.cpp + ../dlls/hunger/hkg36.cpp + ../dlls/hunger/medkit.cpp + ../dlls/hunger/shovel.cpp + ../dlls/hunger/sniper.cpp + ../dlls/hunger/spanner.cpp + ../dlls/hunger/taurus.cpp + ../dlls/hunger/weapon_einar1.cpp ../dlls/crossbow.cpp ../dlls/crowbar.cpp ../dlls/egon.cpp diff --git a/dlls/CMakeLists.txt b/dlls/CMakeLists.txt index cc0063b4..700f4d46 100644 --- a/dlls/CMakeLists.txt +++ b/dlls/CMakeLists.txt @@ -28,7 +28,26 @@ set (SVDLL_LIBRARY server) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -fno-exceptions -w") set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") -set (SVDLL_SOURCES +set(SVDLL_SOURCES + hunger/ap9.cpp + hunger/babykelly.cpp + hunger/boss.cpp + hunger/chaingun.cpp + hunger/chicken.cpp + hunger/civilian.cpp + hunger/cyberfranklin.cpp + hunger/flame.cpp + hunger/hand.cpp + hunger/hkg36.cpp + hunger/medkit.cpp + hunger/megasquid.cpp + hunger/shovel.cpp + hunger/sniper.cpp + hunger/spanner.cpp + hunger/taurus.cpp + hunger/tnt.cpp + hunger/weapon_einar1.cpp + hunger/zombiebull.cpp agrunt.cpp airtank.cpp aflock.cpp @@ -131,7 +150,7 @@ set (SVDLL_SOURCES ../pm_shared/pm_shared.c ) -include_directories (. wpn_shared ../common ../engine ../pm_shared ../game_shared ../public) +include_directories (. hunger wpn_shared ../common ../engine ../pm_shared ../game_shared ../public) if(USE_VOICEMGR) set(SVDLL_SOURCES