summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-10-26 16:00:38 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-10-27 14:29:24 (GMT)
commitc619be278451f39ed53a91f31060963bfb9a2301 (patch)
tree5dc23a3e37ccb7c9ae1e6e0efccec6b2b628dc68 /Source/cmake.h
parent8d6a0b9364581fbb95746c93cac4ec3c213f534b (diff)
downloadCMake-c619be278451f39ed53a91f31060963bfb9a2301.zip
CMake-c619be278451f39ed53a91f31060963bfb9a2301.tar.gz
CMake-c619be278451f39ed53a91f31060963bfb9a2301.tar.bz2
ccmake: Don't list --preset in --help
And show available options in cmake-gui. Fixes: #21313
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 262d673..1ecf2c2 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -704,8 +704,6 @@ private:
#define CMAKE_STANDARD_OPTIONS_TABLE \
{ "-S <path-to-source>", "Explicitly specify a source directory." }, \
{ "-B <path-to-build>", "Explicitly specify a build directory." }, \
- { "--preset=<preset-name>", "Explicitly specify a preset." }, \
- { "--list-presets", "List available presets." }, \
{ "-C <initial-cache>", "Pre-load a script to populate the cache." }, \
{ "-D <var>[:<type>]=<value>", "Create or update a cmake cache entry." }, \
{ "-U <globbing_expr>", "Remove matching entries from CMake cache." }, \