File tree 1 file changed +10
-4
lines changed 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,17 @@ set(CMAKE_CXX_STANDARD 11)
5
5
set (CMAKE_CXX_EXTENSIONS off )
6
6
set (CMAKE_CXX_STANDARD_REQUIRED on )
7
7
8
- include (cmake/ConfigureProjectTests.cmake)
9
- Core_ConfigureProjectTests()
8
+ option (OPTIONS_ENABLE_TESTING "Enable Tests Using Catch2" on )
9
+ if (OPTIONS_ENABLE_TESTING)
10
+ include (cmake/ConfigureProjectTests.cmake)
11
+ Core_ConfigureProjectTests()
12
+ endif ()
10
13
11
- include (cmake/ConfigureProjectBenchmark.cmake)
12
- Core_ConfigureProjectBenchmark()
14
+ option (OPTIONS_ENABLE_BENCHMARKING "Enable Benchmarks Using Google Benchmarks" on )
15
+ if (OPTIONS_ENABLE_BENCHMARKING)
16
+ include (cmake/ConfigureProjectBenchmark.cmake)
17
+ Core_ConfigureProjectBenchmark()
18
+ endif ()
13
19
14
20
add_library (${PROJECT_NAME} INTERFACE include /sorting_algorithms/sort .hpp)
15
21
add_library (SortAlgorithmsLibrary ALIAS ${PROJECT_NAME} )
You can’t perform that action at this time.
0 commit comments