summaryrefslogtreecommitdiffstats
path: root/Source/cmInstalledFile.cxx
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-08-09 12:50:49 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2014-08-09 13:30:21 (GMT)
commit12418f5c264ef8e66724cbb19e1304416452c7f8 (patch)
tree8a24da8109930edc8589b82ba36c73369be1d7d4 /Source/cmInstalledFile.cxx
parenta99b42a4101dfa29ef3ebbfcbac58226879fd2f3 (diff)
downloadCMake-12418f5c264ef8e66724cbb19e1304416452c7f8.zip
CMake-12418f5c264ef8e66724cbb19e1304416452c7f8.tar.gz
CMake-12418f5c264ef8e66724cbb19e1304416452c7f8.tar.bz2
CPackWIX: Implement CPACK_WIX_ACL (Access Control List) property
Diffstat (limited to 'Source/cmInstalledFile.cxx')
-rw-r--r--Source/cmInstalledFile.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmInstalledFile.cxx b/Source/cmInstalledFile.cxx
index 7813fcc..3483ecc 100644
--- a/Source/cmInstalledFile.cxx
+++ b/Source/cmInstalledFile.cxx
@@ -111,3 +111,14 @@ bool cmInstalledFile::GetPropertyAsBool(const std::string& prop) const
bool isSet = this->GetProperty(prop, value);
return isSet && cmSystemTools::IsOn(value.c_str());
}
+
+//----------------------------------------------------------------------------
+void cmInstalledFile::GetPropertyAsList(const std::string& prop,
+ std::vector<std::string>& list) const
+{
+ std::string value;
+ this->GetProperty(prop, value);
+
+ list.clear();
+ cmSystemTools::ExpandListArgument(value, list);
+}