22 lines
357 B
CMake
22 lines
357 B
CMake
include(GoogleTest)
|
|
|
|
add_executable(
|
|
fesa_unit_tests
|
|
unit/build_info_test.cpp
|
|
)
|
|
|
|
target_link_libraries(
|
|
fesa_unit_tests
|
|
PRIVATE
|
|
fesa_solver
|
|
GTest::gtest_main
|
|
)
|
|
|
|
gtest_discover_tests(
|
|
fesa_unit_tests
|
|
PROPERTIES
|
|
LABELS "linear-static-3d-euler-beam;unit"
|
|
)
|
|
|
|
add_custom_target(fesa_tests DEPENDS fesa_unit_tests)
|