summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-28 16:34:36 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-05-28 16:34:36 (GMT)
commit8df4d03d99ba88394d931f41d679defdd226b193 (patch)
tree7ef91610ab967bd8ba37e8d4c3fcd8cda407f44b /Source/cmake.h
parentca2b012cb9dd488b74871bf481b1bb9154fdf804 (diff)
parentd0b1d2a65be658663ce7314961e13036974f62e7 (diff)
downloadCMake-8df4d03d99ba88394d931f41d679defdd226b193.zip
CMake-8df4d03d99ba88394d931f41d679defdd226b193.tar.gz
CMake-8df4d03d99ba88394d931f41d679defdd226b193.tar.bz2
Merge topic 'cpack-properties'
d0b1d2a6 CPackWiX: Implement CPACK_NEVER_OVERWRITE and CPACK_PERMANENT properties 15a8af21 Add an "installed file" property scope
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 33a5d78..3db77e6 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -16,6 +16,7 @@
#include "cmSystemTools.h"
#include "cmPropertyDefinitionMap.h"
#include "cmPropertyMap.h"
+#include "cmInstalledFile.h"
class cmGlobalGeneratorFactory;
class cmGlobalGenerator;
@@ -92,6 +93,7 @@ class cmake
FIND_PACKAGE_MODE
};
typedef std::map<std::string, cmCommand*> RegisteredCommandsMap;
+ typedef std::map<std::string, cmInstalledFile> InstalledFilesMap;
/// Default constructor
cmake();
@@ -280,6 +282,15 @@ class cmake
// Get the properties
cmPropertyMap &GetProperties() { return this->Properties; }
+ ///! Get or create an cmInstalledFile instance and return a pointer to it
+ cmInstalledFile *GetOrCreateInstalledFile(
+ cmMakefile* mf, const std::string& name);
+
+ cmInstalledFile const* GetInstalledFile(const std::string& name) const;
+
+ InstalledFilesMap const& GetInstalledFiles() const
+ { return this->InstalledFiles; }
+
///! Do all the checks before running configure
int DoPreConfigureChecks();
@@ -445,6 +456,7 @@ private:
cmFileTimeComparison* FileComparison;
std::string GraphVizFile;
std::vector<std::string> DebugConfigs;
+ InstalledFilesMap InstalledFiles;
void UpdateConversionPathTable();
};