-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
36 lines (30 loc) · 753 Bytes
/
CMakeLists.txt
File metadata and controls
36 lines (30 loc) · 753 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
33
34
35
36
#cmake ver req
cmake_minimum_required(VERSION 2.8.3)
#project name
set(project_name thero)
project(${project_name})
if(WIN32)
set(THERO_MISC_DIR .)
set(WINFIX SYSTEM)
else()
set(THERO_MISC_DIR share/thero)
endif()
include_directories(${CMAKE_CURRENT_LIST_DIR}/include)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/cmake/modules/")
set(thero_header_files
include/thero/any.hpp
include/thero/assert.hpp
include/thero/copyablepolymmorphic.hpp
include/thero/moduleset.hpp
include/thero/optional.hpp
include/thero/randomselector.hpp
include/thero/smartenum.hpp
)
install(
DIRECTORY include
DESTINATION .
)
install(
FILES README.md LICENSE
DESTINATION ${THERO_MISC_DIR}
)