generated from NOAA-OWP/owp-open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathCMakeLists.txt
25 lines (21 loc) · 903 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
include(${PROJECT_SOURCE_DIR}/cmake/dynamic_sourced_library.cmake)
dynamic_sourced_cxx_library(realizations_catchment "${CMAKE_CURRENT_SOURCE_DIR}")
add_library(NGen::realizations_catchment ALIAS realizations_catchment)
target_include_directories(realizations_catchment PUBLIC
${PROJECT_SOURCE_DIR}/include/core
${PROJECT_SOURCE_DIR}/include/core/catchment
${PROJECT_SOURCE_DIR}/include/realizations/catchment
${PROJECT_SOURCE_DIR}/include/forcing
${PROJECT_SOURCE_DIR}/include/simulation_time
${PROJECT_SOURCE_DIR}/include/utilities
${PROJECT_SOURCE_DIR}/include/geojson
${PROJECT_SOURCE_DIR}/include/bmi
)
target_link_libraries(realizations_catchment PUBLIC
${CMAKE_DL_LIBS}
NGen::config_header
NGen::core_catchment
NGen::geojson
NGen::logging
NGen::ngen_bmi
)