diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2015-02-21 16:30:31 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2015-02-21 16:30:31 (GMT) |
commit | 279605f560312aab4dfeef4cce1c8c67d4083b4e (patch) | |
tree | 6f91cd08d36c85c5fafcdef3e70ba2207707c2c3 /Source/CPack/WiX/cmWIXShortcut.h | |
parent | 53d7dafface62d40ea795456394f7ab1d5ee6712 (diff) | |
download | CMake-279605f560312aab4dfeef4cce1c8c67d4083b4e.zip CMake-279605f560312aab4dfeef4cce1c8c67d4083b4e.tar.gz CMake-279605f560312aab4dfeef4cce1c8c67d4083b4e.tar.bz2 |
CPackWIX: Add installed file properties for the creation of shortcuts.
Diffstat (limited to 'Source/CPack/WiX/cmWIXShortcut.h')
-rw-r--r-- | Source/CPack/WiX/cmWIXShortcut.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/CPack/WiX/cmWIXShortcut.h b/Source/CPack/WiX/cmWIXShortcut.h index a18cbb3..5e18bdd 100644 --- a/Source/CPack/WiX/cmWIXShortcut.h +++ b/Source/CPack/WiX/cmWIXShortcut.h @@ -18,6 +18,8 @@ #include <set> #include <vector> +#include <cmInstalledFile.h> + class cmWIXFilesSourceWriter; struct cmWIXShortcut @@ -50,9 +52,19 @@ public: void AddShortcutTypes(std::set<Type>& types); + void CreateFromProperties(std::string const& id, + std::string const& directoryId, cmInstalledFile const& installedFile); + private: typedef std::map<Type, shortcut_id_map_t> shortcut_type_map_t; + void CreateFromProperty( + std::string const& propertyName, + Type type, + std::string const& id, + std::string const& directoryId, + cmInstalledFile const& installedFile); + shortcut_type_map_t Shortcuts; shortcut_id_map_t EmptyIdMap; }; |