mirror of
https://github.com/limo-app/limo.git
synced 2025-12-23 23:07:52 -05:00
Discover tests for ctest
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
@@ -129,7 +129,7 @@ cmake --build build
|
|||||||
```
|
```
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -S . -B build -DBUILD_TESTING=ON
|
cmake -DCMAKE_BUILD_TYPE=Release -S . -B build -DBUILD_TESTING=ON
|
||||||
cmake --build build
|
cmake --build build
|
||||||
build/tests/tests
|
ctest --test-dir build
|
||||||
```
|
```
|
||||||
|
|
||||||
#### (Optional) Build the documentation:
|
#### (Optional) Build the documentation:
|
||||||
|
|||||||
@@ -127,3 +127,6 @@ PRIVATE Catch2::Catch2WithMain
|
|||||||
PRIVATE ${ZSTD_LIBRARIES}
|
PRIVATE ${ZSTD_LIBRARIES}
|
||||||
PRIVATE ZLIB::ZLIB
|
PRIVATE ZLIB::ZLIB
|
||||||
PRIVATE pugixml::pugixml)
|
PRIVATE pugixml::pugixml)
|
||||||
|
|
||||||
|
include(Catch)
|
||||||
|
catch_discover_tests(tests)
|
||||||
|
|||||||
Reference in New Issue
Block a user