-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCMakeLists.txt
41 lines (37 loc) · 1.18 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
38
39
40
41
# Define minimum required version for CMake
cmake_minimum_required(VERSION 3.22)
# Details of the project
project(HOPE LANGUAGES CXX)
# Specify the C++ standard
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED True)
# Add external libraries and required dependencies
add_library (extern_libs src/nonlinear_functions.cpp)
target_include_directories(extern_libs PUBLIC
include
libs/eigen
libs/odeint/include
libs/config/include
libs/utility/include
libs/core/include
libs/type_traits/include
libs/fusion/include
libs/mpl/include
libs/preprocessor/include
libs/static_assert/include
libs/range/include
libs/iterator/include
libs/concept_check/include
libs/assert/include
libs/detail/include
libs/function_types/include
libs/array/include
libs/throw_exception/include
libs/units/include
libs/typeof/include
libs/integer/include
libs/ublas/include
libs/serialization/include)
# Add source executable and link to libraries
add_executable(HOPE src/main.cpp)
target_link_libraries(HOPE PRIVATE extern_libs)