mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-22 06:55:35 -04:00
13 lines
360 B
CMake
13 lines
360 B
CMake
set(TEST_NAMES
|
|
test_distribution
|
|
test_file_utils
|
|
test_tally
|
|
test_interpolate
|
|
# Add additional unit test files here
|
|
)
|
|
|
|
foreach(test ${TEST_NAMES})
|
|
add_executable(${test} ${test}.cpp)
|
|
target_link_libraries(${test} Catch2::Catch2WithMain libopenmc)
|
|
add_test(NAME ${test} COMMAND ${test} WORKING_DIRECTORY ${UNIT_TEST_BIN_OUTPUT_DIR})
|
|
endforeach()
|