forked from ORNL-Fusion/PARVMEC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
32 lines (20 loc) · 819 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
cmake_minimum_required (VERSION 3.14)
project (parvmec C CXX Fortran)
add_library (vmec)
target_link_libraries (vmec PUBLIC stell)
target_include_directories (vmec
PUBLIC
$<TARGET_PROPERTY:vmec,BINARY_DIR>
)
add_executable (xvmec)
target_link_libraries (xvmec PUBLIC vmec)
add_subdirectory (Sources)
install (TARGETS xvmec)
################################################################################
# Testing #
################################################################################
# Build test utilities.
add_executable (xwout_diff)
target_link_libraries (xwout_diff PUBLIC stell)
target_compile_features (xwout_diff PRIVATE cxx_std_11)
add_subdirectory (Testing)