forked from BlueBrain/Deflect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
49 lines (38 loc) · 1.46 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
# Copyright (c) 2013-2015, EPFL/Blue Brain Project
# Raphael Dumusc <[email protected]>
# Daniel Nachbaur <[email protected]>
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(Deflect)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMake
${CMAKE_SOURCE_DIR}/CMake/common)
include(GitExternal)
set(VERSION_MAJOR "0")
set(VERSION_MINOR "7")
set(VERSION_PATCH "0")
set(VERSION_ABI 1)
set(DEFLECT_DESCRIPTION "A fast C++ library for streaming pixels and events")
set(DEFLECT_DEPENDENT_LIBRARIES Boost)
include(Common)
common_package(Boost REQUIRED COMPONENTS date_time program_options
unit_test_framework serialization system thread)
common_package(GLUT)
common_package(LibJpegTurbo REQUIRED)
common_package(OpenGL)
common_package(Qt5Concurrent REQUIRED SYSTEM)
common_package(Qt5Core REQUIRED)
common_package(Qt5Network REQUIRED)
common_package(Qt5Widgets REQUIRED)
common_package(Servus)
common_package_post()
add_subdirectory(deflect)
add_subdirectory(apps)
add_subdirectory(tests)
add_subdirectory(doc)
set(COMMON_PROJECT_DOMAIN ch.epfl.bluebrain)
set(DOXYGEN_MAINPAGE_MD README.md)
set(DOXYGEN_EXTRA_INPUT ${PROJECT_SOURCE_DIR}/README.md)
include(DoxygenRule) # must be after all targets
set(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION}
# http://public.kitware.com/Bug/view.php?id=10179
"ld: warning: duplicate dylib")
include(CTest)