summaryrefslogtreecommitdiffstats
path: root/Source/WXDialog
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-19 21:20:40 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-19 21:20:40 (GMT)
commit8f3d8e747084238ea54b2b930ad988d68c64edbe (patch)
tree9777f65a7be90b7c9942fd99f08e04906302b00e /Source/WXDialog
parentc91629109bf83eee7d2a55c4dbdb0d0a5110a00c (diff)
downloadCMake-8f3d8e747084238ea54b2b930ad988d68c64edbe.zip
CMake-8f3d8e747084238ea54b2b930ad988d68c64edbe.tar.gz
CMake-8f3d8e747084238ea54b2b930ad988d68c64edbe.tar.bz2
Add option -Q for existing after loading
Diffstat (limited to 'Source/WXDialog')
-rw-r--r--Source/WXDialog/cmWXCommandLineInfo.cxx4
-rw-r--r--Source/WXDialog/cmWXCommandLineInfo.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/Source/WXDialog/cmWXCommandLineInfo.cxx b/Source/WXDialog/cmWXCommandLineInfo.cxx
index 5aba382..aa53a47 100644
--- a/Source/WXDialog/cmWXCommandLineInfo.cxx
+++ b/Source/WXDialog/cmWXCommandLineInfo.cxx
@@ -33,6 +33,7 @@ cmCommandLineInfo::cmCommandLineInfo()
this->m_GeneratorChoiceString = "";
this->m_LastUnknownParameter = "";
this->m_ValidArguments = "";
+ this->m_ExitAfterLoad = false;
}
///////////////////////////////////////////////////////////////
@@ -125,6 +126,9 @@ void cmCommandLineInfo::ParseParam(const std::string& parameter,
case 'G':
this->m_GeneratorChoiceString = value;
break;
+ case 'Q':
+ this->m_ExitAfterLoad = true;
+ break;
case 'H':
this->m_WhereSource = value;
break;
diff --git a/Source/WXDialog/cmWXCommandLineInfo.h b/Source/WXDialog/cmWXCommandLineInfo.h
index 7831d19..ec934bc 100644
--- a/Source/WXDialog/cmWXCommandLineInfo.h
+++ b/Source/WXDialog/cmWXCommandLineInfo.h
@@ -51,6 +51,7 @@ public:
std::string m_GeneratorChoiceString;
std::string m_LastUnknownParameter;
std::string m_ExecutablePath;
+ bool m_ExitAfterLoad;
protected:
// Parse one argument