Skip to content

Commit

Permalink
Disable testing by default
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 authored Aug 9, 2023
1 parent 4fe6121 commit 662d6f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ option(MRTRIX_BUILD_GUI "Build the MRtrix3 GUI" ON)
option(MRTRIX_USE_QT6 "Use Qt6 to build" OFF)
option(MRTRIX_WARNINGS_AS_ERRORS "Compiler warnings result in compilation errors" OFF)
option(MRTRIX_STL_DEBUGGING "Enable STL debug mode" OFF)
option(MRTRIX_BUILD_TESTS "Build tests executables" ON)
option(MRTRIX_BUILD_TESTS "Build tests executables" OFF)

if(MRTRIX_BUILD_TESTS)
list(APPEND CMAKE_CTEST_ARGUMENTS "--output-on-failure")
Expand Down
1 change: 1 addition & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"inherits" : "base",
"cacheVariables" : {
"CMAKE_BUILD_TYPE" : "Release",
"MRTRIX_BUILD_TESTS" : "ON",
"MRTRIX_STL_DEBUGGING" : "ON",
"MRTRIX_WARNINGS_AS_ERRORS" : "ON"
}
Expand Down

0 comments on commit 662d6f9

Please sign in to comment.