forked from EVerest/libtimer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated with suggestion from PR review. Co-authored-by: Andreas Heinrich <[email protected]> Signed-off-by: Coury Richards <[email protected]>
- Loading branch information
1 parent
201e918
commit 9b194d6
Showing
5 changed files
with
12 additions
and
18 deletions.
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
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,4 +1,3 @@ | ||
build/ | ||
dist/ | ||
workspace.yaml | ||
dist/ | ||
workspace.yaml |
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
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,11 +1,12 @@ | ||
find_package(GTest REQUIRED) | ||
add_executable(libtimer_unit_test libtimer_unit_test.cpp) | ||
set(TEST_TARGET_NAME ${PROJECT_NAME}_tests) | ||
add_executable(${TEST_TARGET_NAME} libtimer_unit_test.cpp) | ||
|
||
target_include_directories(libtimer_unit_test PUBLIC${GTEST_INCLUDE_DIRS}) | ||
target_include_directories(${TEST_TARGET_NAME} PUBLIC${GTEST_INCLUDE_DIRS}) | ||
|
||
target_link_libraries(libtimer_unit_test PRIVATE | ||
target_link_libraries(${TEST_TARGET_NAME} PRIVATE | ||
${GTEST_LIBRARIES} | ||
${GTEST_MAIN_LIBRARIES} | ||
) | ||
|
||
add_test(libtimer_unit_test libtimer_unit_test) | ||
add_test(${TEST_TARGET_NAME} ${TEST_TARGET_NAME}) |
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