summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-28 11:47:32 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-28 11:47:37 (GMT)
commit199247c21a21f4650ffa1ee9990f92328bd657cc (patch)
treeb0c15fd695c2873605c7c1b9b6644efc0dfe3528 /Source/QtDialog
parentf48e32178f012fa5f5c844b91291790e4911e5cb (diff)
parentc619be278451f39ed53a91f31060963bfb9a2301 (diff)
downloadCMake-199247c21a21f4650ffa1ee9990f92328bd657cc.zip
CMake-199247c21a21f4650ffa1ee9990f92328bd657cc.tar.gz
CMake-199247c21a21f4650ffa1ee9990f92328bd657cc.tar.bz2
Merge topic 'cmake-presets-help-flag' into release-3.19
c619be2784 ccmake: Don't list --preset in --help Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5428
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/CMakeSetup.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index 7c3675b..c1555a2 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -37,7 +37,12 @@ static const char* cmDocumentationUsage[][2] = {
{ nullptr, nullptr }
};
-static const char* cmDocumentationOptions[][2] = { { nullptr, nullptr } };
+static const char* cmDocumentationOptions[][2] = {
+ { "-S <path-to-source>", "Explicitly specify a source directory." },
+ { "-B <path-to-build>", "Explicitly specify a build directory." },
+ { "--preset=<preset>", "Specify a configure preset." },
+ { nullptr, nullptr }
+};
#if defined(Q_OS_MAC)
static int cmOSXInstall(std::string dir);