forked from jungnitz/lime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
30 lines (22 loc) · 845 Bytes
/
CMakeLists.txt
File metadata and controls
30 lines (22 loc) · 845 Bytes
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_minimum_required(VERSION 3.19)
project(lime)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 20)
set(EGGMOCK_EXAMPLES OFF)
add_subdirectory(eggmock)
include(FetchContent)
FetchContent_Declare(
Corrosion
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
GIT_TAG v0.5
)
FetchContent_MakeAvailable(Corrosion)
corrosion_import_crate(MANIFEST_PATH Cargo.toml)
add_library(lime_base src/utils.cpp)
target_link_libraries(lime_base PUBLIC eggmock lime_rs)
add_executable(lime src/main.cpp)
target_link_libraries(lime PRIVATE lime_base)
# add_executable(lime_ambit_benchmark src/ambit_benchmark_main.cpp)
# target_link_libraries(lime_ambit_benchmark PRIVATE lime_base)
# add_executable(lime_gp_benchmark src/gp_benchmark_main.cpp)
# target_link_libraries(lime_gp_benchmark PRIVATE lime_base)