mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Moved test files
This commit is contained in:
parent
933d11f932
commit
f1bff798c4
2 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue