forked from OpenApoc/OpenApoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
38 lines (29 loc) · 969 Bytes
/
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
CMAKE_MINIMUM_REQUIRED(VERSION 3.9)
option(BUILD_EXTRACTOR "Build the initial gamestate extractor tool" ON)
option(BUILD_IMAGEDUMP "Build a tool that dumps apoc images as png files" ON)
option(BUILD_GAMESTATESERIALIZEGEN "Build a that regenerates the gamestate
serialization code" ON)
option(BUILD_EDITOR "Build the gamestate editor tool" OFF)
option(BUILD_DUMPEVERYTHING "Tool that dumps all known images" OFF)
option(BUILD_SERIALIZATIONTOOL "Tool to work with serialized gamestate
archives" ON)
if(BUILD_EXTRACTOR)
add_subdirectory(extractors)
endif()
if(BUILD_EDITOR)
add_subdirectory(editor)
endif()
if (BUILD_IMAGEDUMP)
add_subdirectory(imagedump)
endif()
if (BUILD_DUMPEVERYTHING)
add_subdirectory(dump_everything)
endif()
if (BUILD_SERIALIZATIONTOOL)
add_subdirectory(serialization_tool)
endif()
if (BUILD_LAUNCHER)
add_subdirectory(launcher)
endif()
# GameState serialization code generator isn't optional
add_subdirectory(code_generators)