motorized_fader/tests/CMakeLists.txt

37 lines
679 B
CMake
Raw Permalink Normal View History

2025-02-10 18:25:49 +00:00
project(Tests)
# TEST_DIRS
add_subdirectory(SuperLoop)
add_subdirectory(ADC)
add_subdirectory(MockADC)
add_subdirectory(RegEdit)
add_subdirectory(MockRegEdit)
2025-02-10 18:25:49 +00:00
add_subdirectory(simple_test)
#add_subdirectory(timer)
2025-02-10 18:25:49 +00:00
# TEST_RUNNER
add_executable(AllTests
AllTests.cpp
)
target_link_libraries(AllTests
${CPPUTEST_LIBRARIES}/libCppUTest.a
${CPPUTEST_LIBRARIES}/libCppUTestExt.a
# TEST_LINKS
test_SuperLoop
test_ADC
test_RegEdit
2025-02-10 18:25:49 +00:00
simple_test
)
add_executable(Mock_Tests
MockTests.cpp
)
target_link_libraries(Mock_Tests
${CPPUTEST_LIBRARIES}/libCppUTest.a
${CPPUTEST_LIBRARIES}/libCppUTestExt.a
test_MockRegEdit
test_MockADC
)