cmake_cpputest_template/.template_files/modules/TestCMakeLists.txt

16 lines
274 B
Plaintext

# TEST_RUNNER
add_library(module_name_test
module_name.cpp
)
target_link_libraries(module_name_test
${CPPUTEST_LIBRARIES}/libCppUTest.a
${CPPUTEST_LIBRARIES}/libCppUTestExt.a
module_name
)
target_include_directories(module_name_test
module_name
)