-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCMakeLists-common.txt
More file actions
58 lines (46 loc) · 1.02 KB
/
CMakeLists-common.txt
File metadata and controls
58 lines (46 loc) · 1.02 KB
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
# -*- cmake -*-
include(compiler-settings)
# Use the CMake config provided by Boost instead of the deprecated one
# provided by CMake.
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()
if(BIM_HOST_BIN)
set(AXSLCC_FIND_PROG_ROOT ${BIM_HOST_BIN})
endif()
# No versions here, because it I always forget to sync them with the
# versions from the setup scripts. See the files in
# setup/dependencies/recipes/ for the actual requirements.
find_package(axmol REQUIRED)
find_package(Boost REQUIRED)
find_package(EnTT REQUIRED)
find_package(fmt REQUIRED)
include(benchmark)
if (BIM_BUILD_TESTS)
find_package(GTest REQUIRED)
endif()
if(BIM_ENABLE_TRACY)
find_package(Tracy REQUIRED)
endif()
set(iscool_components
audio
http
i18n
net
preferences
random
style
system
)
if(BIM_BUILDING_FOR_ANDROID)
set(iscool_components ${iscool_components} jni)
endif()
find_package(
iscool-core 1.9.1
REQUIRED
COMPONENTS
${iscool_components}
)
add_subdirectory(modules)
add_subdirectory(apps)
add_subdirectory(assets)