-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.