mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Added CheckFileList in CMake over the benchmark sources
This commit is contained in:
parent
4ce11d63a6
commit
dab1d9d222
@ -104,7 +104,7 @@ set(TOP_LEVEL_HEADERS
|
|||||||
${HEADER_DIR}/catch_with_main.hpp
|
${HEADER_DIR}/catch_with_main.hpp
|
||||||
)
|
)
|
||||||
CheckFileList(TOP_LEVEL_HEADERS ${HEADER_DIR})
|
CheckFileList(TOP_LEVEL_HEADERS ${HEADER_DIR})
|
||||||
|
|
||||||
# Please keep these ordered alphabetically
|
# Please keep these ordered alphabetically
|
||||||
set(EXTERNAL_HEADERS
|
set(EXTERNAL_HEADERS
|
||||||
${HEADER_DIR}/external/clara.h
|
${HEADER_DIR}/external/clara.h
|
||||||
@ -112,7 +112,7 @@ set(EXTERNAL_HEADERS
|
|||||||
)
|
)
|
||||||
CheckFileList(EXTERNAL_HEADERS ${HEADER_DIR}/external)
|
CheckFileList(EXTERNAL_HEADERS ${HEADER_DIR}/external)
|
||||||
|
|
||||||
|
|
||||||
# Please keep these ordered alphabetically
|
# Please keep these ordered alphabetically
|
||||||
set(INTERNAL_HEADERS
|
set(INTERNAL_HEADERS
|
||||||
${HEADER_DIR}/internal/catch_approx.hpp
|
${HEADER_DIR}/internal/catch_approx.hpp
|
||||||
@ -226,7 +226,8 @@ set(BENCH_SOURCES
|
|||||||
${BENCHMARK_DIR}/BenchMain.cpp
|
${BENCHMARK_DIR}/BenchMain.cpp
|
||||||
${BENCHMARK_DIR}/StringificationBench.cpp
|
${BENCHMARK_DIR}/StringificationBench.cpp
|
||||||
)
|
)
|
||||||
|
CheckFileList(BENCH_SOURCES ${BENCHMARK_DIR})
|
||||||
|
|
||||||
# Provide some groupings for IDEs
|
# Provide some groupings for IDEs
|
||||||
SOURCE_GROUP("Tests" FILES ${TEST_SOURCES})
|
SOURCE_GROUP("Tests" FILES ${TEST_SOURCES})
|
||||||
SOURCE_GROUP("Surrogates" FILES ${IMPL_SOURCES})
|
SOURCE_GROUP("Surrogates" FILES ${IMPL_SOURCES})
|
||||||
|
Loading…
Reference in New Issue
Block a user