Relay_Tester/tests/CMakeLists.txt

40 lines
656 B
CMake
Raw Normal View History

2024-08-02 19:57:48 +00:00
project(Tests)
# TEST_DIRS
#add_subdirectory(timer)
2024-08-02 19:57:48 +00:00
#add_subdirectory(usart)
add_subdirectory(MockRegEdit)
add_subdirectory(RegEdit)
add_subdirectory(simple_test)
add_subdirectory(LedController)
2024-08-02 20:02:22 +00:00
2024-08-02 19:57:48 +00:00
# TEST_RUNNER
add_executable(AllTests
AllTests.cpp
)
target_link_libraries(AllTests
${CPPUTEST_LIBRARIES}/libCppUTest.a
${CPPUTEST_LIBRARIES}/libCppUTestExt.a
# TEST_LINKS
2024-08-22 02:59:14 +00:00
test_LedController
#test_timer
2024-08-02 19:57:48 +00:00
test_RegEdit
simple_test
)
add_executable(Mock_Tests
MockTests.cpp
)
target_link_libraries(Mock_Tests
${CPPUTEST_LIBRARIES}/libCppUTest.a
${CPPUTEST_LIBRARIES}/libCppUTestExt.a
test_MockRegEdit
)