Add option -Q for existing after loading
This commit is contained in:
parent
c91629109b
commit
8f3d8e7470
|
@ -33,6 +33,7 @@ cmCommandLineInfo::cmCommandLineInfo()
|
||||||
this->m_GeneratorChoiceString = "";
|
this->m_GeneratorChoiceString = "";
|
||||||
this->m_LastUnknownParameter = "";
|
this->m_LastUnknownParameter = "";
|
||||||
this->m_ValidArguments = "";
|
this->m_ValidArguments = "";
|
||||||
|
this->m_ExitAfterLoad = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
|
@ -125,6 +126,9 @@ void cmCommandLineInfo::ParseParam(const std::string& parameter,
|
||||||
case 'G':
|
case 'G':
|
||||||
this->m_GeneratorChoiceString = value;
|
this->m_GeneratorChoiceString = value;
|
||||||
break;
|
break;
|
||||||
|
case 'Q':
|
||||||
|
this->m_ExitAfterLoad = true;
|
||||||
|
break;
|
||||||
case 'H':
|
case 'H':
|
||||||
this->m_WhereSource = value;
|
this->m_WhereSource = value;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -51,6 +51,7 @@ public:
|
||||||
std::string m_GeneratorChoiceString;
|
std::string m_GeneratorChoiceString;
|
||||||
std::string m_LastUnknownParameter;
|
std::string m_LastUnknownParameter;
|
||||||
std::string m_ExecutablePath;
|
std::string m_ExecutablePath;
|
||||||
|
bool m_ExitAfterLoad;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Parse one argument
|
// Parse one argument
|
||||||
|
|
Loading…
Reference in New Issue