-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
132 lines (127 loc) · 4.62 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# Kisak-Strike: Gentoo Offensive
# Main CMake File
# List of targets from VPC
# Dmserializers* Matchmaking_DS_CSGO* ServerBrowser* tier3*
# Dmxloader* materialsystem* Server_CSGO* Unitlib*
# appframework* engine* mathlib* shaderapiempty* valve_avi*
# bitmap* engine_ds mathlib_extended* shaderlib* vgui2*
# bitmap_byteswap* Fgdlib* matsys_controls* vgui_controls*
# bonesetup* filesystem_stdio* meshutils* vguimatsurface*
# Bzip2* inputsystem* particles* soundemittersystem* vgui_surfacelib*
# choreoobjects* interfaces* quickhull* soundsystem_lowlevel* videocfg*
# launcher* Raytrace* stdshader_dx9* vpklib*
# launcher_main* studiorender* vscript*
# localize* vstdlib*
# Client_CSGO* matchmakingbase* resourcefile* tier0* vtf*
# datacache* matchmakingbase_ds* responserules_runtime* tier1*
# Dedicated* Matchmaking_CSGO* SceneFileCache* tier2*
cmake_minimum_required(VERSION 3.16)
project(KisakStrike)
include(kisak-strike-build-options.cmake)
add_subdirectory(appframework)
add_subdirectory(external/crypto++-5.61)
#add_subdirectory(external/freetype-2.10.4)
add_subdirectory(interfaces)
#add_subdirectory(fgdlib)
add_subdirectory(gcsdk)
add_subdirectory(tier0)
add_subdirectory(tier1)
add_subdirectory(tier2)
add_subdirectory(tier3)
add_subdirectory(vstdlib)
add_subdirectory(mathlib) #also does mathlib_extended.
add_subdirectory(vpklib)
if(NOT DEDICATED)
add_subdirectory(vgui2/matsys_controls)
add_subdirectory(vgui2/src)
add_subdirectory(vgui2/vgui_controls)
add_subdirectory(vgui2/vgui_surfacelib)
endif()
if(WIN32)
add_subdirectory(soundsystem)
endif()
if(NOT DEDICATED)
add_subdirectory(soundsystem/lowlevel)
endif()
add_subdirectory(thirdparty/quickhull)
add_subdirectory(thirdparty/zlib-1.2.8)
add_subdirectory(thirdparty/libpng-1.5.30)
add_subdirectory(thirdparty/protobuf-3.5.1/cmake)
add_subdirectory(utils/bzip2)
add_subdirectory(utils/jpeglib)
add_subdirectory(unitlib)
if( NOT DEDICATED )
add_subdirectory(videocfg)
endif()
add_subdirectory(vtf)
if( NOT DEDICATED )
add_subdirectory(avi)
endif()
add_subdirectory(bitmap) #also does bitmap_byteswap
add_subdirectory(bonesetup)
add_subdirectory(choreoobjects)
add_subdirectory(datacache)
if( DEDICATED )
add_subdirectory(dedicated)
add_subdirectory(dedicated_main)
endif()
add_subdirectory(dmserializers)
add_subdirectory(dmxloader)
if( NOT DEDICATED )
add_subdirectory(engine/voice_codecs/minimp3)
add_subdirectory(engine)
else()
add_subdirectory(engine_ds)
endif()
add_subdirectory(filesystem)
if( NOT DEDICATED )
add_subdirectory(inputsystem)
endif()
add_subdirectory(localize)
add_subdirectory(materialsystem)
add_subdirectory(materialsystem/shaderlib)
add_subdirectory(materialsystem/stdshaders)
if( DEDICATED )
add_subdirectory(materialsystem/shaderapiempty)
else()
add_subdirectory(materialsystem/shaderapidx9)
endif()
add_subdirectory(meshutils)
add_subdirectory(particles)
add_subdirectory(raytrace)
add_subdirectory(resourcefile)
add_subdirectory(responserules/runtime)
add_subdirectory(scenefilecache)
if( NOT DEDICATED )
add_subdirectory(serverbrowser)
endif()
add_subdirectory(soundemittersystem)
add_subdirectory(studiorender)
if(NOT WIN32 AND NOT GL AND NOT DEDICATED)
add_subdirectory(togl)
endif()
if(NOT DEDICATED)
add_subdirectory(vguimatsurface)
endif()
add_subdirectory(vscript)
add_subdirectory(ivp/havana/havok/hk_base)
add_subdirectory(ivp/havana/havok/hk_math)
add_subdirectory(ivp/havana/havok/hk_physics/constraint)
add_subdirectory(ivp/ivp_compact_builder)
add_subdirectory(ivp/ivp_physics)
add_subdirectory(vphysics)
add_subdirectory(game/client) #CSGO Client
add_subdirectory(game/server) #CSGO Server
add_subdirectory(matchmaking) #Does all 4 matchmaking projects
if( NOT DEDICATED )
add_subdirectory(launcher)
add_subdirectory(launcher_main) #The actual executable that just dlopen's launcher
endif()
if( NOT DEDICATED )
if( USE_SCALEFORM )
add_subdirectory(scaleformui) #DUMMY cmake project so CLion can do analysis
elseif( USE_ROCKETUI ) #Custom Kisak-Strike UI powered by RmlUI
add_subdirectory(thirdparty/RmlUi)
add_subdirectory(rocketui)
endif()
endif()