OpenMC/tests/cpp_unit_tests/CMakeLists.txt
GuySten c31032cf25
load mesh objects from weight_windows.h5 file (#3598)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2025-10-21 23:03:27 +00:00

16 lines
405 B
CMake

set(TEST_NAMES
test_distribution
test_file_utils
test_tally
test_interpolate
test_math
test_mcpl_stat_sum
test_mesh
# 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()