cmake_cpputest_template/tests/CMakeLists.txt

22 lines
276 B
CMake
Raw Normal View History

2024-03-13 05:39:03 +00:00
# TEST_RUNNER
add_executable(test_runner
AllTests.cpp
)
target_link_libraries(test_runner
${CPPUTEST_LDFLAGS}
)
2024-03-07 06:01:53 +00:00
# TEST_DIRS
2024-03-13 05:39:03 +00:00
add_subdirectory(simple_test)
2024-03-07 06:01:53 +00:00
# INCLUDE_DIRS
# Build unit tests and link with other sources.
# Run the tests once build finished.