summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-04-03 03:48:12 (GMT)
committerBrad King <brad.king@kitware.com>2003-04-03 03:48:12 (GMT)
commita5ea72df8856aada1ac9cd9916466a078a6ff9d3 (patch)
treed1a36bdb4356124b2ffd6701a4bc160f25bb2c1f /Source/CursesDialog
parent3bba5f587e719bed322e2d9aeca57283907b7ef9 (diff)
downloadCMake-a5ea72df8856aada1ac9cd9916466a078a6ff9d3.zip
CMake-a5ea72df8856aada1ac9cd9916466a078a6ff9d3.tar.gz
CMake-a5ea72df8856aada1ac9cd9916466a078a6ff9d3.tar.bz2
ENH: Improved documentation. Also modified behavior of "cmake" to not configure a project in the current directory unless . is given.
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/ccmake.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index a9386a2..9a0c2a8 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -51,6 +51,13 @@ static const cmDocumentationEntry cmDocumentationDescription[] =
{0,0,0}
};
+//----------------------------------------------------------------------------
+static const cmDocumentationEntry cmDocumentationOptions[] =
+{
+ CMAKE_STANDARD_OPTIONS_TABLE,
+ {0,0,0}
+};
+
cmCursesForm* cmCursesForm::CurrentForm=0;
extern "C"
@@ -94,7 +101,7 @@ int main(int argc, char** argv)
doc.SetNameSection(cmDocumentationName);
doc.SetUsageSection(cmDocumentationUsage);
doc.SetDescriptionSection(cmDocumentationDescription);
- doc.SetOptionsSection(0);
+ doc.SetOptionsSection(cmDocumentationOptions);
doc.SetCommandsSection(&commands[0]);
doc.PrintDocumentation(ht, std::cout);
return 0;