forked from Eyescale/Collage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
57 lines (39 loc) · 1.32 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
# Copyright (c) 2010 Daniel Pfeifer <[email protected]>
# 2010-2014 Stefan Eilemann <[email protected]>
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(Collage)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMake
${PROJECT_SOURCE_DIR}/CMake/common)
include(GitExternal)
option(COLLAGE_BUILD_V2_API
"Enable for pure 2.0 API (breaks compatibility with 1.x API)" OFF)
set(VERSION_MAJOR "1")
set(VERSION_MINOR "1")
set(VERSION_PATCH "2")
set(VERSION_ABI 2)
set(PROJECT_INCLUDE_NAME co)
include(Common)
include(Buildyard)
if(BUILDYARD_STOP)
return()
endif()
set(GITTARGETS_RELEASE_BRANCH minor)
set(DPUT_HOST "ppa:eilemann/equalizer-dev")
set(LUNCHBOX_DESCRIPTION "Multi-threaded C++ toolbox library for all application developers creating high-performance multi-threaded programs.")
set(COMMON_PROJECT_DOMAIN ch.eyescale)
set(COLLAGE_DESCRIPTION "High-performance C++ library for developing object-oriented distributed applications.")
set(COLLAGE_DEPENDENT_LIBRARIES Lunchbox)
include(FindPackages)
if(NOT MSVC)
set(PTHREAD_LIBRARIES pthread)
endif()
if(APPLE)
add_definitions(-DDarwin)
endif(APPLE)
add_subdirectory(tools)
add_subdirectory(tests)
add_subdirectory(co)
add_subdirectory(doc)
include(CPackConfig)
set(DOXYGEN_EXTRA_INPUT @PROJECT_BINARY_DIR@/doc/RelNotes.md)
include(DoxygenRule)