diff options
author | Jorgen Bodde <jorgb@xs4all.nl> | 2005-08-08 21:14:08 (GMT) |
---|---|---|
committer | Jorgen Bodde <jorgb@xs4all.nl> | 2005-08-08 21:14:08 (GMT) |
commit | 154529bd1c3fc27493c92c93a21676d492875c38 (patch) | |
tree | 0d146124f12f02489a46e7b82c6f2a42e0c2f3ef /Source/WXDialog/CommandLineInfo.h | |
parent | 52f9353c45cecb237feb30b3dbde7d4c33e4a0c3 (diff) | |
download | CMake-154529bd1c3fc27493c92c93a21676d492875c38.zip CMake-154529bd1c3fc27493c92c93a21676d492875c38.tar.gz CMake-154529bd1c3fc27493c92c93a21676d492875c38.tar.bz2 |
Started on command line parsing, added string parse method for default generator
Diffstat (limited to 'Source/WXDialog/CommandLineInfo.h')
-rw-r--r-- | Source/WXDialog/CommandLineInfo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/WXDialog/CommandLineInfo.h b/Source/WXDialog/CommandLineInfo.h index a904bbc..f72a148 100644 --- a/Source/WXDialog/CommandLineInfo.h +++ b/Source/WXDialog/CommandLineInfo.h @@ -48,7 +48,7 @@ public: std::string m_WhereSource; std::string m_WhereBuild; bool m_AdvancedValues; - std::string m_GeneratorChoiceString; + wxString m_GeneratorChoiceString; std::string m_LastUnknownParameter; std::string m_ExecutablePath; bool m_ExitAfterLoad; @@ -60,6 +60,10 @@ protected: // Return boolean value of the string static int GetBoolValue(const std::string&); + // on windows the argument with spaces SUCKS! So we need to + // incorporate it with quotes. + wxString GetStringParam(const char *pString); + std::string m_ValidArguments; }; |