-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCMakeLists.txt
37 lines (29 loc) · 1006 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
25
26
27
28
29
30
31
32
33
34
35
36
37
cmake_minimum_required(VERSION 2.6)
project(POTHOLES)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_BUILD_TYPE Debug)
#if(DEFINED ENV{BUILT_TOOLS})
# set (BUILT_TOOLS $ENV{BUILT_TOOLS} )
#else()
# message(FATAL_ERROR "BUILT_TOOLS VARIABLE NOT SET")
#endif()
#if(DEFINED ENV{BUILT_TOOLS_ARCH})
#set (BUILT_TOOLS_ARCH $ENV{BUILT_TOOLS_ARCH})
#else()
# message(FATAL_ERROR "BUILT_TOOLS_ARCH VARIABLE NOT SET")
#endif()
#if (APPLE)
# if (DEFINED ENV{MACPORTS_PREFIX})
# set (MACPORTS_PREFIX $ENV{MACPORTS_PREFIX} )
# else()
# message(FATAL_ERROR "MACPORTS_PREFIX must be set for apple platform")
# endif()
#endif(APPLE)
#set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/external/src/cmake/modules")
#set (CMAKE_PREFIX_PATH ${CMAKE_SOURCE_DIR}/external/platforms/${CMAKE_SYSTEM_NAME})
set(CMAKE_CXX_COMPILER c++)
set(CMAKE_C_COMPILER cc)
add_subdirectory(external)
add_subdirectory(benchmarks)
add_subdirectory(src)
add_subdirectory(scripts)