forked from CamaraLab/TARGet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
24 lines (19 loc) · 953 Bytes
/
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
project (TARGet)
cmake_minimum_required (VERSION 2.4)
# Find everything that's always required
find_package (Boost REQUIRED COMPONENTS program_options python serialization signals)
set (cxx_flags ${CMAKE_CXX_FLAGS_RELEASE})
add_definitions (${cxx_flags})
# Fix the XCode bug
add_definitions (-ftemplate-depth=256)
#add_definitions (-ftemplate-depth-256)
#set (PYTHON_EXECUTABLE /usr/local/bin/python2.6)
#set (PYTHON_INCLUDE_DIR /usr/local/include/python2.6)
#set (PYTHON_PATH /usr/local/lib/libpython2.6.dylib)
# Set includes
include_directories (${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/include
${Boost_INCLUDE_DIR}
${cwd_INCLUDE_DIR})
# Process subdirectories
add_subdirectory (bindings)