Skip to content

Commit

Permalink
Moved test files
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabooman committed Feb 5, 2024
1 parent 933d11f commit f1bff79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
File renamed without changes.

0 comments on commit f1bff79

Please sign in to comment.