Browse Source

Update CMakeLists.txt.

noffice
Night Owl 8 years ago
parent
commit
2abdfbc7e4
  1. 22
      cl_dll/CMakeLists.txt
  2. 31
      dlls/CMakeLists.txt

22
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(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}")
set (CLDLL_SOURCES 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/crowbar.cpp
../dlls/egon.cpp # ../dlls/egon.cpp
../dlls/gauss.cpp # ../dlls/gauss.cpp
../dlls/handgrenade.cpp # ../dlls/handgrenade.cpp
../dlls/hornetgun.cpp # ../dlls/hornetgun.cpp
../dlls/mp5.cpp ../dlls/mp5.cpp
../dlls/python.cpp # ../dlls/python.cpp
../dlls/rpg.cpp ../dlls/rpg.cpp
../dlls/satchel.cpp # ../dlls/satchel.cpp
../dlls/shotgun.cpp ../dlls/shotgun.cpp
../dlls/squeakgrenade.cpp # ../dlls/squeakgrenade.cpp
../dlls/tripmine.cpp ../dlls/tripmine.cpp
../dlls/glock.cpp ../dlls/glock.cpp
ev_hldm.cpp ev_hldm.cpp

31
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(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}")
set (SVDLL_SOURCES 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 agrunt.cpp
airtank.cpp airtank.cpp
aflock.cpp aflock.cpp
@ -46,12 +59,12 @@ set (SVDLL_SOURCES
client.cpp client.cpp
combat.cpp combat.cpp
controller.cpp controller.cpp
crossbow.cpp # crossbow.cpp
crowbar.cpp crowbar.cpp
defaultai.cpp defaultai.cpp
doors.cpp doors.cpp
effects.cpp effects.cpp
egon.cpp # egon.cpp
explode.cpp explode.cpp
flyingmonster.cpp flyingmonster.cpp
func_break.cpp func_break.cpp
@ -59,7 +72,7 @@ set (SVDLL_SOURCES
game.cpp game.cpp
gamerules.cpp gamerules.cpp
gargantua.cpp gargantua.cpp
gauss.cpp # gauss.cpp
genericmonster.cpp genericmonster.cpp
ggrenade.cpp ggrenade.cpp
globals.cpp globals.cpp
@ -70,13 +83,13 @@ set (SVDLL_SOURCES
h_cine.cpp h_cine.cpp
h_cycler.cpp h_cycler.cpp
h_export.cpp h_export.cpp
handgrenade.cpp # handgrenade.cpp
hassassin.cpp hassassin.cpp
headcrab.cpp headcrab.cpp
healthkit.cpp healthkit.cpp
hgrunt.cpp hgrunt.cpp
hornet.cpp hornet.cpp
hornetgun.cpp # hornetgun.cpp
houndeye.cpp houndeye.cpp
ichthyosaur.cpp ichthyosaur.cpp
islave.cpp islave.cpp
@ -97,11 +110,11 @@ set (SVDLL_SOURCES
plane.cpp plane.cpp
plats.cpp plats.cpp
player.cpp player.cpp
python.cpp # python.cpp
rat.cpp rat.cpp
roach.cpp roach.cpp
rpg.cpp rpg.cpp
satchel.cpp # satchel.cpp
schedule.cpp schedule.cpp
scientist.cpp scientist.cpp
scripted.cpp scripted.cpp
@ -112,7 +125,7 @@ set (SVDLL_SOURCES
soundent.cpp soundent.cpp
spectator.cpp spectator.cpp
squadmonster.cpp squadmonster.cpp
squeakgrenade.cpp # squeakgrenade.cpp
subs.cpp subs.cpp
talkmonster.cpp talkmonster.cpp
teamplay_gamerules.cpp teamplay_gamerules.cpp
@ -131,7 +144,7 @@ set (SVDLL_SOURCES
../pm_shared/pm_shared.c ../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) if(USE_VOICEMGR)
set(SVDLL_SOURCES set(SVDLL_SOURCES

Loading…
Cancel
Save