-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
63 lines (46 loc) · 1.17 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
cmake_minimum_required(VERSION 3.3)
project(displace VERSION 1.0 LANGUAGES C CXX)
include (cmake/options.cmake)
include (cmake/compiler.cmake)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
include (cmake/qt.cmake)
if (UNIX)
include(cmake/platform-linux.cmake)
endif ()
if (WIN32)
include (cmake/platform_win.cmake)
endif()
if (APPLE)
include(cmake/platform_apple.cmake)
endif (APPLE)
include(cmake/installer.cmake)
add_definitions(-DBOOST_ALL_NO_LIB)
include(cmake/dependencies.cmake)
add_subdirectory(formats)
add_subdirectory(commons)
if (NOT WITHOUT_GUI)
add_subdirectory(QMapControl)
add_subdirectory(qtcommons)
add_subdirectory(qtgui)
endif ()
add_subdirectory(simulator)
## Tools
add_subdirectory(avaifieldshuffler)
add_subdirectory(avaifieldupdater)
add_subdirectory(vmsmerger)
## Gui TOOLS
if (NOT WITHOUT_GUI)
add_subdirectory(dteditor)
add_subdirectory(objeditor)
add_subdirectory(tseditor)
add_subdirectory(scheduler)
endif ()
## Test
if (NOT WITHOUT_GUI)
add_subdirectory(tests)
endif ()
if (WITH_TESTS)
add_subdirectory(commons/commons_tests)
# Disabled, still not up to date
#add_subdirectory(simulator/tests)
endif ()