mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-11 06:24:30 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
dbefbc819f
commit
4f7f23ea2c
@ -29,20 +29,36 @@ 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
|
||||||
|
../dlls/hs/ak47.cpp
|
||||||
|
../dlls/hs/beamkatana.cpp
|
||||||
|
../dlls/hs/boombox.cpp
|
||||||
|
../dlls/hs/bow.cpp
|
||||||
|
../dlls/hs/dosh.cpp
|
||||||
|
../dlls/hs/fotns.cpp
|
||||||
|
../dlls/hs/goldengun.cpp
|
||||||
|
../dlls/hs/jackal.cpp
|
||||||
|
../dlls/hs/jason.cpp
|
||||||
|
../dlls/hs/jihad.cpp
|
||||||
|
../dlls/hs/modman.cpp
|
||||||
|
../dlls/hs/mw2.cpp
|
||||||
|
../dlls/hs/nstar.cpp
|
||||||
|
../dlls/hs/scipg.cpp
|
||||||
|
../dlls/hs/soda_can.cpp
|
||||||
|
../dlls/hs/zapper.cpp
|
||||||
ev_hldm.cpp
|
ev_hldm.cpp
|
||||||
hl/hl_baseentity.cpp
|
hl/hl_baseentity.cpp
|
||||||
hl/hl_events.cpp
|
hl/hl_events.cpp
|
||||||
@ -90,8 +106,17 @@ set (CLDLL_SOURCES
|
|||||||
view.cpp
|
view.cpp
|
||||||
input_xash3d.cpp
|
input_xash3d.cpp
|
||||||
scoreboard.cpp
|
scoreboard.cpp
|
||||||
MOTD.cpp)
|
MOTD.cpp
|
||||||
include_directories (. hl/ ../dlls ../dlls/wpn_shared ../common ../engine ../pm_shared ../game_shared ../public)
|
hs/cawadooty.cpp
|
||||||
|
# hs/halloween.cpp
|
||||||
|
# hs/mp3.cpp
|
||||||
|
# hs/test.cpp
|
||||||
|
# hs/testext.cpp
|
||||||
|
hs/timer.cpp
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
include_directories (. hl/ ../dlls ../dlls/wpn_shared ../common ../engine ../pm_shared ../game_shared ../public hs ../dlls/hs )
|
||||||
|
|
||||||
if(USE_VOICEMGR)
|
if(USE_VOICEMGR)
|
||||||
#set(CLDLL_SOURCES
|
#set(CLDLL_SOURCES
|
||||||
|
@ -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,7 +59,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
|
||||||
@ -76,7 +76,7 @@ set (SVDLL_SOURCES
|
|||||||
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,7 +97,7 @@ 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
|
||||||
@ -126,12 +126,47 @@ set (SVDLL_SOURCES
|
|||||||
world.cpp
|
world.cpp
|
||||||
xen.cpp
|
xen.cpp
|
||||||
zombie.cpp
|
zombie.cpp
|
||||||
|
hs/ak47.cpp
|
||||||
|
hs/beamkatana.cpp
|
||||||
|
hs/boombox.cpp
|
||||||
|
hs/bot_combat.cpp
|
||||||
|
hs/bot.cpp
|
||||||
|
hs/botcam.cpp
|
||||||
|
hs/bow.cpp
|
||||||
|
hs/chrischan.cpp
|
||||||
|
hs/cod_gamerules.cpp
|
||||||
|
hs/coop_gamerules.cpp
|
||||||
|
hs/creeper.cpp
|
||||||
|
# hs/ctf_gameplay.cpp
|
||||||
|
hs/dosh.cpp
|
||||||
|
# hs/fotn.cpp
|
||||||
|
hs/fotns.cpp
|
||||||
|
hs/gayglenn.cpp
|
||||||
|
hs/goldengun.cpp
|
||||||
|
hs/grinman.cpp
|
||||||
|
hs/heavyrain_gamerules.cpp
|
||||||
|
hs/homestuck.cpp
|
||||||
|
hs/hs_model.cpp
|
||||||
|
hs/jackal.cpp
|
||||||
|
hs/jason.cpp
|
||||||
|
hs/jihad.cpp
|
||||||
|
hs/modman.cpp
|
||||||
|
hs/monhunt_gamerules.cpp
|
||||||
|
hs/mw2.cpp
|
||||||
|
hs/nstar.cpp
|
||||||
|
hs/scipg.cpp
|
||||||
|
hs/shytplay_gamerules.cpp
|
||||||
|
hs/sinistar.cpp
|
||||||
|
hs/soda_can.cpp
|
||||||
|
hs/test_gamerules.cpp
|
||||||
|
hs/xmast.cpp
|
||||||
|
hs/zapper.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 hs )
|
||||||
|
|
||||||
if(USE_VOICEMGR)
|
if(USE_VOICEMGR)
|
||||||
set(SVDLL_SOURCES
|
set(SVDLL_SOURCES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user