OpenMC/tests/cpp_unit_tests/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
444 B
Text
Raw Normal View History

set(TEST_NAMES
test_distribution
2023-03-31 13:46:42 -04:00
test_file_utils
test_tally
2023-11-15 03:49:53 -06:00
test_interpolate
test_math
test_mcpl_stat_sum
test_mesh
test_ray
test_region
test_tensor
# 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()