forked from cneben/QuickQanava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
38 lines (31 loc) · 1.05 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
cmake_minimum_required(VERSION 3.5.0)
project(QuickQanava VERSION 0.11.0 LANGUAGES CXX)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Conan.io support
if (EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
endif()
find_package(Qt5Core REQUIRED)
find_package(Qt5Qml REQUIRED)
find_package(Qt5Quick REQUIRED)
find_package(Qt5QuickControls2 REQUIRED)
add_subdirectory(GTpo)
add_subdirectory(QuickContainers)
add_subdirectory(src)
option(BUILD_SAMPLES "Build the samples" TRUE)
option(DEPLOY "Use windeployqt on Windows" FALSE)
if (${BUILD_SAMPLES})
#add_subdirectory(samples/resizer)
add_subdirectory(samples/navigable)
add_subdirectory(samples/nodes)
add_subdirectory(samples/cpp)
add_subdirectory(samples/edges)
add_subdirectory(samples/connector)
add_subdirectory(samples/groups)
add_subdirectory(samples/selection)
add_subdirectory(samples/style)
add_subdirectory(samples/dataflow)
add_subdirectory(samples/topology)
endif()
add_subdirectory(exports)