-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
34 lines (22 loc) · 698 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
cmake_minimum_required(VERSION 3.6)
project(zacc)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(cmake/zacc.shared.cmake)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
enable_testing()
# include branched code generation config
add_subdirectory(codegen/backend)
# fetch dependencies
add_subdirectory(dependencies)
# add codegen targets
include(codegen/CMakeLists.txt)
# add app targets
include(src/CMakeLists.txt)
# add test targets
include(test/CMakeLists.txt)
# add example targets
add_subdirectory(examples)
# add documentation targets
include(docs/CMakeLists.txt)