-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
32 lines (25 loc) · 895 Bytes
/
CMakeLists.txt
File metadata and controls
32 lines (25 loc) · 895 Bytes
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
# =================================
# graphite
#
# graphite/CMakeLists.tx
# =================================
#Set up min CMake version
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
#Set project name
PROJECT(graphite)
SET(VERSION_MAJOR "1")
SET(VERSION_MINOR "0")
SET(VERSION_PATCH "0")
SET(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
IF("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")
MESSAGE(SEND_ERROR "In-source builds are not allowed, please build this in the bin directory!")
ENDIF("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")
INCLUDE_DIRECTORIES(include config externals plugins ${PROJECT_SOURCE_DIR})
UNSET(CORE_LIBS CACHE) #unset this each time
SET(CORE_LIBS CACHE LIST "A LIST OF THE PLUGIN LIBRARIES")
# add subfolders
ADD_SUBDIRECTORY(externals)
ADD_SUBDIRECTORY(config)
ADD_SUBDIRECTORY(core)
ADD_SUBDIRECTORY(tools)
#ADD_SUBDIRECTORY(tests)