-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start to replace Catch2 with doctest. Dummy test only
- Loading branch information
1 parent
0474c19
commit f2d795c
Showing
6 changed files
with
38 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "cpp/include/Catch2"] | ||
path = cpp/include/Catch2 | ||
url = [email protected]:catchorg/Catch2.git | ||
[submodule "cpp/include/doctest"] | ||
path = cpp/include/doctest | ||
url = [email protected]:doctest/doctest.git |
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,3 +1,6 @@ | ||
|
||
add_subdirectory(Catch2) | ||
include(Catch) | ||
add_library(doctest INTERFACE) | ||
target_include_directories(doctest | ||
INTERFACE | ||
doctest/doctest | ||
) |
Submodule Catch2
deleted from
863c66
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,12 +1,13 @@ | ||
add_executable(test test_main.cpp) | ||
|
||
|
||
target_link_libraries(test | ||
PUBLIC | ||
VoyagerLib | ||
PRIVATE | ||
Catch2::Catch2WithMain | ||
doctest | ||
) | ||
|
||
target_compile_options(test PRIVATE -O2 -g) | ||
|
||
include(CTest) | ||
catch_discover_tests(test) |
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