-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCMakeLists.txt
45 lines (38 loc) · 1.02 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
cmake_minimum_required(VERSION 3.15)
project(JIVE
VERSION 1.2.0
)
configure_file(version.txt.in
version.txt
)
include(cmake/jive_options.cmake)
include(cmake/jive_code_coverage.cmake)
include(cmake/jive_compiler_and_linker_options.cmake)
if (JIVE_BUILD_BENCHMARKS
OR JIVE_BUILD_DEMO_RUNNER
OR JIVE_BUILD_TEST_RUNNER
)
include(CTest)
include(cmake/CPM.cmake)
CPMUsePackageLock(package-lock.cmake)
endif ()
add_subdirectory(jive_components)
add_subdirectory(jive_core)
add_subdirectory(jive_layouts)
add_subdirectory(jive_style_sheets)
if (JIVE_BUILD_BENCHMARKS
OR JIVE_BUILD_DEMO_RUNNER
OR JIVE_BUILD_TEST_RUNNER
OR JIVE_BUILD_EXAMPLES
)
CPMGetPackage(JUCE)
endif ()
set_directory_properties(PROPERTIES JUCE_COMPANY_NAME
"JIVE"
JUCE_COMPANY_WEBSITE
"https://github.com/ImJimmi/JIVE"
)
add_subdirectory(runners)
if (JIVE_BUILD_EXAMPLES)
add_subdirectory(examples)
endif ()