cmake: out-of-line try compile state methods.
This commit is contained in:
parent
6ed19e615b
commit
14c70b8c58
@ -1935,6 +1935,16 @@ void cmake::UpdateProgress(const char *msg, float prog)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool cmake::GetIsInTryCompile() const
|
||||||
|
{
|
||||||
|
return this->InTryCompile;
|
||||||
|
}
|
||||||
|
|
||||||
|
void cmake::SetIsInTryCompile(bool b)
|
||||||
|
{
|
||||||
|
this->InTryCompile = b;
|
||||||
|
}
|
||||||
|
|
||||||
void cmake::GetGeneratorDocumentation(std::vector<cmDocumentationEntry>& v)
|
void cmake::GetGeneratorDocumentation(std::vector<cmDocumentationEntry>& v)
|
||||||
{
|
{
|
||||||
for(RegisteredGeneratorsVector::const_iterator i =
|
for(RegisteredGeneratorsVector::const_iterator i =
|
||||||
|
@ -257,10 +257,8 @@ class cmake
|
|||||||
bool directoriesSetBefore = false);
|
bool directoriesSetBefore = false);
|
||||||
|
|
||||||
///! Is this cmake running as a result of a TRY_COMPILE command
|
///! Is this cmake running as a result of a TRY_COMPILE command
|
||||||
bool GetIsInTryCompile() { return this->InTryCompile; }
|
bool GetIsInTryCompile() const;
|
||||||
|
void SetIsInTryCompile(bool b);
|
||||||
///! Is this cmake running as a result of a TRY_COMPILE command
|
|
||||||
void SetIsInTryCompile(bool i) { this->InTryCompile = i; }
|
|
||||||
|
|
||||||
///! Parse command line arguments that might set cache values
|
///! Parse command line arguments that might set cache values
|
||||||
bool SetCacheArgs(const std::vector<std::string>&);
|
bool SetCacheArgs(const std::vector<std::string>&);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user