diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2017-01-11 11:06:00 (GMT) |
---|---|---|
committer | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2017-01-12 16:29:52 (GMT) |
commit | 4971799360b5ec7c99f94810f2fa5cb9f80dcebf (patch) | |
tree | 488e2e136a9101741a30ae90d1e155f5f252bb2a /Source/QtIFW/CMake.DeveloperReference.HTML.qs.in | |
parent | 728820f3ea0faf55ffe1236a44a35e9197fc6291 (diff) | |
download | CMake-4971799360b5ec7c99f94810f2fa5cb9f80dcebf.zip CMake-4971799360b5ec7c99f94810f2fa5cb9f80dcebf.tar.gz CMake-4971799360b5ec7c99f94810f2fa5cb9f80dcebf.tar.bz2 |
QtIFW: Improved packaging
Now cpack_ifw_configure_file command used to configure
template files of component's scripts.
Now for these template files we can use QtIFW predefined
variables (like @VAR@) and template variables
in Qt/IFW/SDK/Creator templates style (like %VAR%).
Now CMake_INSTALL_INFIX advanced variable used to configure
CMake installation destination when package as part of QtSDK.
Diffstat (limited to 'Source/QtIFW/CMake.DeveloperReference.HTML.qs.in')
-rw-r--r-- | Source/QtIFW/CMake.DeveloperReference.HTML.qs.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/QtIFW/CMake.DeveloperReference.HTML.qs.in b/Source/QtIFW/CMake.DeveloperReference.HTML.qs.in index e3d8554..8cc5835 100644 --- a/Source/QtIFW/CMake.DeveloperReference.HTML.qs.in +++ b/Source/QtIFW/CMake.DeveloperReference.HTML.qs.in @@ -11,8 +11,8 @@ Component.prototype.createOperations = function() if (installer.value("os") === "win") { component.addOperation("CreateShortcut", - installer.value("TargetDir") + "/@CMAKE_DOC_DIR@/developer-reference/html/index.html", - installer.value("StartMenuDir") + "/CMake Developer Reference.lnk"); + "@TargetDir@/%CMAKE_DOC_DIR%/developer-reference/html/index.html", + "@StartMenuDir@/CMake Developer Reference.lnk"); } |