diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2013-10-23 10:14:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-26 14:15:19 (GMT) |
commit | fe7f8c99a459f93df594a8e5c5f49389d71ae128 (patch) | |
tree | 193c19944985976c6ddbe7343cc33879286fecb0 /Source/CPack/WiX/cmWIXSourceWriter.h | |
parent | 20c0a6a0add0380290adab4989425d0b26e38d24 (diff) | |
download | CMake-fe7f8c99a459f93df594a8e5c5f49389d71ae128.zip CMake-fe7f8c99a459f93df594a8e5c5f49389d71ae128.tar.gz CMake-fe7f8c99a459f93df594a8e5c5f49389d71ae128.tar.bz2 |
CPackWiX: use safe IDs for generated start menu shortcuts
Diffstat (limited to 'Source/CPack/WiX/cmWIXSourceWriter.h')
-rw-r--r-- | Source/CPack/WiX/cmWIXSourceWriter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CPack/WiX/cmWIXSourceWriter.h b/Source/CPack/WiX/cmWIXSourceWriter.h index 1dafc1f..0c7803c 100644 --- a/Source/CPack/WiX/cmWIXSourceWriter.h +++ b/Source/CPack/WiX/cmWIXSourceWriter.h @@ -32,7 +32,7 @@ public: void BeginElement(const std::string& name); - void EndElement(); + void EndElement(const std::string& name); void AddProcessingInstruction( const std::string& target, const std::string& content); @@ -62,6 +62,8 @@ private: State state; std::vector<std::string> elements; + + std::string sourceFilename; }; #endif |