From 2abdfbc7e43e278e4aa03a5755ab58eab30ced36 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Sat, 15 Oct 2016 01:35:03 +0500 Subject: [PATCH] Update CMakeLists.txt. --- cl_dll/CMakeLists.txt | 22 ++++++++++++++-------- dlls/CMakeLists.txt | 31 ++++++++++++++++++++++--------- 2 files changed, 36 insertions(+), 17 deletions(-) diff --git a/cl_dll/CMakeLists.txt b/cl_dll/CMakeLists.txt index 7fffb29b..d420e402 100644 --- a/cl_dll/CMakeLists.txt +++ b/cl_dll/CMakeLists.txt @@ -29,18 +29,24 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-write-strings -DLINUX -D_LINUX -Dstricm set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") set (CLDLL_SOURCES - ../dlls/crossbow.cpp + noffice/glow.cpp + noffice/pain.cpp + noffice/cinematic.cpp + noffice/deathvision.cpp + ../dlls/noffice/torch.cpp + ../dlls/noffice/holster.cpp +# ../dlls/crossbow.cpp ../dlls/crowbar.cpp - ../dlls/egon.cpp - ../dlls/gauss.cpp - ../dlls/handgrenade.cpp - ../dlls/hornetgun.cpp +# ../dlls/egon.cpp +# ../dlls/gauss.cpp +# ../dlls/handgrenade.cpp +# ../dlls/hornetgun.cpp ../dlls/mp5.cpp - ../dlls/python.cpp +# ../dlls/python.cpp ../dlls/rpg.cpp - ../dlls/satchel.cpp +# ../dlls/satchel.cpp ../dlls/shotgun.cpp - ../dlls/squeakgrenade.cpp +# ../dlls/squeakgrenade.cpp ../dlls/tripmine.cpp ../dlls/glock.cpp ev_hldm.cpp diff --git a/dlls/CMakeLists.txt b/dlls/CMakeLists.txt index cc0063b4..c425044a 100644 --- a/dlls/CMakeLists.txt +++ b/dlls/CMakeLists.txt @@ -29,6 +29,19 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasec set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") set (SVDLL_SOURCES + noffice/civilian.cpp + noffice/dave.cpp + noffice/female.cpp + noffice/clip.cpp + noffice/flashlightspot.cpp + noffice/furniture_passable.cpp + noffice/holster.cpp + noffice/news.cpp + noffice/player_freeze.cpp + noffice/random_shake.cpp + noffice/random_shooter.cpp + noffice/terrorist.cpp + noffice/torch.cpp agrunt.cpp airtank.cpp aflock.cpp @@ -46,12 +59,12 @@ set (SVDLL_SOURCES client.cpp combat.cpp controller.cpp - crossbow.cpp +# crossbow.cpp crowbar.cpp defaultai.cpp doors.cpp effects.cpp - egon.cpp +# egon.cpp explode.cpp flyingmonster.cpp func_break.cpp @@ -59,7 +72,7 @@ set (SVDLL_SOURCES game.cpp gamerules.cpp gargantua.cpp - gauss.cpp +# gauss.cpp genericmonster.cpp ggrenade.cpp globals.cpp @@ -70,13 +83,13 @@ set (SVDLL_SOURCES h_cine.cpp h_cycler.cpp h_export.cpp - handgrenade.cpp +# handgrenade.cpp hassassin.cpp headcrab.cpp healthkit.cpp hgrunt.cpp hornet.cpp - hornetgun.cpp +# hornetgun.cpp houndeye.cpp ichthyosaur.cpp islave.cpp @@ -97,11 +110,11 @@ set (SVDLL_SOURCES plane.cpp plats.cpp player.cpp - python.cpp +# python.cpp rat.cpp roach.cpp rpg.cpp - satchel.cpp +# satchel.cpp schedule.cpp scientist.cpp scripted.cpp @@ -112,7 +125,7 @@ set (SVDLL_SOURCES soundent.cpp spectator.cpp squadmonster.cpp - squeakgrenade.cpp +# squeakgrenade.cpp subs.cpp talkmonster.cpp teamplay_gamerules.cpp @@ -131,7 +144,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 noffice) if(USE_VOICEMGR) set(SVDLL_SOURCES