Moved test files

This commit is contained in:
Cabooman 2024-02-05 23:11:57 +01:00
parent 933d11f932
commit f1bff798c4
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,11 @@
add_executable(events_test ../Software/src/devboard/utils/events_test.cpp test_lib.cpp)
# Include the directory with your source files
include_directories(${CMAKE_SOURCE_DIR}/Software/src/devboard/utils)
add_executable(events_test events_test.cpp test_lib.cpp)
target_compile_definitions(events_test PRIVATE UNIT_TEST)
target_link_libraries(events_test) # Link to the library from devboard/utils
# Register your tests with CTest
add_test(NAME MyProjectTests COMMAND events_test)