Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/TestScripts
diff options
context:
space:
mode:
authorChris Thrasher2025-04-07 22:09:59 -0600
committerChris Thrasher2025-04-26 10:38:36 -0600
commit8cfca70ae879ba59699b224e8d371b8bb9fa12ff (patch)
treee53b243d3d2b7acc41c27cbd21624e1e28b655cb /tests/TestScripts
parent6aac11e17d4fe662e430a8bbfd4bf6886ca7f935 (diff)
downloadcatch3-8cfca70ae879ba59699b224e8d371b8bb9fa12ff.tar.gz
Fix formatting of CMake files
2 spaces seems to be the more common indentation level so that's what I unified around.
Diffstat (limited to 'tests/TestScripts')
-rw-r--r--tests/TestScripts/DiscoverTests/CMakeLists.txt20
1 files changed, 7 insertions, 13 deletions
diff --git a/tests/TestScripts/DiscoverTests/CMakeLists.txt b/tests/TestScripts/DiscoverTests/CMakeLists.txt
index f0b49f4d..1bcefbb1 100644
--- a/tests/TestScripts/DiscoverTests/CMakeLists.txt
+++ b/tests/TestScripts/DiscoverTests/CMakeLists.txt
@@ -1,24 +1,18 @@
cmake_minimum_required(VERSION 3.16)
+project(discover-tests-test LANGUAGES CXX)
-project(discover-tests-test
- LANGUAGES CXX
-)
-
-add_executable(tests
- register-tests.cpp
-)
-
+add_executable(tests register-tests.cpp)
add_subdirectory(${CATCH2_PATH} catch2-build)
target_link_libraries(tests PRIVATE Catch2::Catch2WithMain)
enable_testing()
include(Catch)
set(extra_args)
-if (CMAKE_VERSION GREATER_EQUAL 3.27)
- list(APPEND extra_args
- DL_PATHS "${CMAKE_CURRENT_LIST_DIR};${CMAKE_CURRENT_LIST_DIR}/.."
- )
-endif ()
+if(CMAKE_VERSION GREATER_EQUAL 3.27)
+ list(APPEND extra_args
+ DL_PATHS "${CMAKE_CURRENT_LIST_DIR};${CMAKE_CURRENT_LIST_DIR}/.."
+ )
+endif()
catch_discover_tests(
tests
ADD_TAGS_AS_LABELS