-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
37 lines (26 loc) · 1.4 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
# [===========================================================================]
# [ M o n e t a ]
# [---------------------------------------------------------------------------]
# [ ]
# [ Copyright (C) 2005-2015 ]
# [ Rodrigo Madera <[email protected]> ]
# [ ]
# [---------------------------------------------------------------------------]
# [ Distributed under the Boost Software License, Version 1.0 ]
# [ Read accompanying LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt ]
# [===========================================================================]
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")
enable_testing()
project(Moneta CXX)
if(MSVC)
set(CMAKE_USE_RELATIVE_PATHS ON CACHE INTERNAL "" FORCE)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMakeTargets")
elseif(APPLE)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
include_directories(/usr/local/include)
endif()
include_directories(include)
add_subdirectory(include)
add_subdirectory(tests)