catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Added CheckFileList in CMake over the benchmark sources
- Commit
dab1d9d222e7a4534d067cd5ae9cebd31dd7d3f9- Author
- Martin Hořeňovský ·
- Parents
4ce11d63a6b0
Changes
CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 705a2931..1e2b23c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,7 +104,7 @@ set(TOP_LEVEL_HEADERS ${HEADER_DIR}/catch_with_main.hpp ) CheckFileList(TOP_LEVEL_HEADERS ${HEADER_DIR}) - + # Please keep these ordered alphabetically set(EXTERNAL_HEADERS ${HEADER_DIR}/external/clara.h @@ -112,7 +112,7 @@ set(EXTERNAL_HEADERS ) CheckFileList(EXTERNAL_HEADERS ${HEADER_DIR}/external) - + # Please keep these ordered alphabetically set(INTERNAL_HEADERS ${HEADER_DIR}/internal/catch_approx.hpp @@ -226,7 +226,8 @@ set(BENCH_SOURCES ${BENCHMARK_DIR}/BenchMain.cpp ${BENCHMARK_DIR}/StringificationBench.cpp ) - +CheckFileList(BENCH_SOURCES ${BENCHMARK_DIR}) + # Provide some groupings for IDEs SOURCE_GROUP("Tests" FILES ${TEST_SOURCES}) SOURCE_GROUP("Surrogates" FILES ${IMPL_SOURCES})