Merge topic 'cmake-static-FindCacheFile'
cc770e76
cmake: Make FindCacheFile a static method
This commit is contained in:
commit
62a79dccc5
|
@ -1046,7 +1046,7 @@ const char* cmake::GetHomeOutputDirectory() const
|
||||||
return this->State->GetBinaryDirectory();
|
return this->State->GetBinaryDirectory();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string cmake::FindCacheFile(const std::string& binaryDir) const
|
std::string cmake::FindCacheFile(const std::string& binaryDir)
|
||||||
{
|
{
|
||||||
std::string cachePath = binaryDir;
|
std::string cachePath = binaryDir;
|
||||||
cmSystemTools::ConvertToUnixSlashes(cachePath);
|
cmSystemTools::ConvertToUnixSlashes(cachePath);
|
||||||
|
|
|
@ -194,7 +194,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
///! Return the full path to where the CMakeCache.txt file should be.
|
///! Return the full path to where the CMakeCache.txt file should be.
|
||||||
std::string FindCacheFile(const std::string& binaryDir) const;
|
static std::string FindCacheFile(const std::string& binaryDir);
|
||||||
|
|
||||||
///! Return the global generator assigned to this instance of cmake
|
///! Return the global generator assigned to this instance of cmake
|
||||||
void SetGlobalGenerator(cmGlobalGenerator*);
|
void SetGlobalGenerator(cmGlobalGenerator*);
|
||||||
|
|
Loading…
Reference in New Issue