feat(linear-static-3d-euler-beam): step 7 - cmake-test-foundation
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user