Update CMakeLists.txt.

This commit is contained in:
Night Owl 2017-06-18 03:01:07 +05:00
parent 95b0702daf
commit 7981c7e2e4
2 changed files with 52 additions and 26 deletions

View File

@ -29,20 +29,20 @@ 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 # ../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
hl/hl_baseentity.cpp hl/hl_baseentity.cpp
hl/hl_events.cpp hl/hl_events.cpp

View File

@ -29,7 +29,7 @@ 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
agrunt.cpp # agrunt.cpp
airtank.cpp airtank.cpp
aflock.cpp aflock.cpp
animating.cpp animating.cpp
@ -46,12 +46,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,24 +59,24 @@ 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
glock.cpp # glock.cpp
gman.cpp gman.cpp
h_ai.cpp h_ai.cpp
h_battery.cpp h_battery.cpp
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
@ -88,7 +88,7 @@ set (SVDLL_SOURCES
monsters.cpp monsters.cpp
monsterstate.cpp monsterstate.cpp
mortar.cpp mortar.cpp
mp5.cpp # mp5.cpp
multiplay_gamerules.cpp multiplay_gamerules.cpp
nihilanth.cpp nihilanth.cpp
nodes.cpp nodes.cpp
@ -97,15 +97,15 @@ 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
shotgun.cpp # shotgun.cpp
singleplay_gamerules.cpp singleplay_gamerules.cpp
skill.cpp skill.cpp
sound.cpp sound.cpp
@ -126,12 +126,38 @@ set (SVDLL_SOURCES
world.cpp world.cpp
xen.cpp xen.cpp
zombie.cpp zombie.cpp
coldice/chaingun.cpp
coldice/knife.cpp
coldice/pulse_rifle.cpp
coldice/runes.cpp
coldice/chumtoad.cpp
coldice/m16.cpp
coldice/railgun_arena.cpp
coldice/sshotgun.cpp
coldice/ashotgun.cpp
coldice/cluster_grenade.cpp
coldice/mac_10.cpp
coldice/railgun.cpp
coldice/sword.cpp
coldice/boltgun.cpp
coldice/double_uzi.cpp
coldice/mag60.cpp
coldice/rifle.cpp
coldice/tnt.cpp
# coldice/bot.cpp
coldice/fragsforweapons_arena.cpp
coldice/nukelauncher.cpp
coldice/rocket_arena.cpp
coldice/uzi.cpp
coldice/grenadel.cpp
coldice/ppk.cpp
coldice/rocketl.cpp
../pm_shared/pm_debug.c ../pm_shared/pm_debug.c
../pm_shared/pm_math.c ../pm_shared/pm_math.c
../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 )
if(USE_VOICEMGR) if(USE_VOICEMGR)
set(SVDLL_SOURCES set(SVDLL_SOURCES