blob: 736a365e874a129f780eb220043d279234ba8859 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/Modules/CTest.cmake
2+++ b/Modules/CTest.cmake
3@@ -47,7 +47,7 @@ the :variable:`CTEST_USE_LAUNCHERS` vari
4 in the ``CTestConfig.cmake`` file.
5 #]=======================================================================]
6
7-option(BUILD_TESTING "Build the testing tree." ON)
8+option(BUILD_TESTING "Build the testing tree." OFF)
9
10 # function to turn generator name into a version string
11 # like vs9 or vs10
12--- a/Modules/Dart.cmake
13+++ b/Modules/Dart.cmake
14@@ -47,7 +47,7 @@ if(cmp0145 STREQUAL "")
15 message(AUTHOR_WARNING "${_cmp0145_warning}")
16 endif()
17
18-option(BUILD_TESTING "Build the testing tree." ON)
19+option(BUILD_TESTING "Build the testing tree." OFF)
20
21 if(BUILD_TESTING)
22 # We only get here if a project already ran include(Dart),
23--- a/Tests/Contracts/VTK/Dashboard.cmake.in
24+++ b/Tests/Contracts/VTK/Dashboard.cmake.in
25@@ -25,7 +25,7 @@ ctest_empty_binary_directory(${CTEST_BIN
26
27 file(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" "
28 VTK_BUILD_EXAMPLES:BOOL=ON
29- VTK_BUILD_TESTING:STRING=WANT
30+ VTK_BUILD_TESTING:STRING=OFF
31 VTK_WRAP_PYTHON:BOOL=ON
32 ExternalData_OBJECT_STORES:FILEPATH=@base_dir@/ExternalData
33 ")