-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCMakeLists.txt
30 lines (24 loc) · 1.16 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
# ===========================================================================
# CMake configuration
# ===========================================================================
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in generatedInclude/config.h)
include_directories (${CMAKE_CURRENT_BINARY_DIR}/generatedInclude)
if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
find_package(MPI REQUIRED)
if(UNIX)
set(CMAKE_CXX_COMPILER ${MPI_CXX_COMPILER})
endif()
# ===========================================================================
# Targets
# ===========================================================================
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/xpansion_interfaces")
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/helpers")
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/lpnamer")
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/benders")
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/multisolver_interface")
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/sensitivity")
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/full_run")
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/study-updater")
add_subdirectory ("${CMAKE_CURRENT_SOURCE_DIR}/exe")