summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-09-09 12:49:30 (GMT)
committerTobias Hunger <tobias.hunger@qt.io>2016-09-12 20:00:22 (GMT)
commit3e58b9af57074ded65566330c33999bdfac191a8 (patch)
treecd5c65ca8c103f6ec6ea9fadb406e5f6808fa202 /Source/cmake.h
parentc73967cb4a0217b2d0825f67d6fd56af2b4d6b7f (diff)
downloadCMake-3e58b9af57074ded65566330c33999bdfac191a8.zip
CMake-3e58b9af57074ded65566330c33999bdfac191a8.tar.gz
CMake-3e58b9af57074ded65566330c33999bdfac191a8.tar.bz2
cmake: Factor out method to find the CMakeCache.txt file
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 8dd0128..30661d9 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -193,6 +193,9 @@ public:
return this->GlobalGenerator;
}
+ ///! Return the full path to where the CMakeCache.txt file should be.
+ std::string FindCacheFile(const std::string& binaryDir) const;
+
///! Return the global generator assigned to this instance of cmake
void SetGlobalGenerator(cmGlobalGenerator*);