mirror of https://github.com/Kitware/CMake.git

7 changed files with 68 additions and 10 deletions
-
6Help/manual/cmake.1.rst
-
13Source/cmake.cxx
-
8Source/cmake.h
-
11Source/cmakemain.cxx
-
4Tests/RunCMake/CMakePresetsWorkflow/Fresh.cmake
-
21Tests/RunCMake/CMakePresetsWorkflow/Fresh.json.in
-
15Tests/RunCMake/CMakePresetsWorkflow/RunCMakeTest.cmake
@ -0,0 +1,4 @@ |
|||
option(FRESH_CONFIGURE "" ON) |
|||
if(NOT FRESH_CONFIGURE) |
|||
message(FATAL_ERROR "FRESH_CONFIGURE is ${FRESH_CONFIGURE}, should be ON") |
|||
endif() |
@ -0,0 +1,21 @@ |
|||
{ |
|||
"version": 6, |
|||
"configurePresets": [ |
|||
{ |
|||
"name": "default", |
|||
"generator": "@RunCMake_GENERATOR@", |
|||
"binaryDir": "${sourceDir}/build" |
|||
} |
|||
], |
|||
"workflowPresets": [ |
|||
{ |
|||
"name": "Fresh", |
|||
"steps": [ |
|||
{ |
|||
"type": "configure", |
|||
"name": "default" |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue