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 @@ -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

31
dlls/CMakeLists.txt

@ -29,6 +29,19 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasec @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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

Loading…
Cancel
Save