diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2014-12-07 18:25:28 (GMT) |
---|---|---|
committer | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2015-07-07 05:11:09 (GMT) |
commit | 938bbc4352cf34532dc1f52998ec7d23532df765 (patch) | |
tree | 4a3c726707f16d8fd6b8ec885ab1847bbc277b65 /Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in | |
parent | fd23fc57115d21ad08da6b131ec9abe141e583e5 (diff) | |
download | CMake-938bbc4352cf34532dc1f52998ec7d23532df765.zip CMake-938bbc4352cf34532dc1f52998ec7d23532df765.tar.gz CMake-938bbc4352cf34532dc1f52998ec7d23532df765.tar.bz2 |
CMake: Install COMPONENTs
Added components:
- cmake
- ctest
- cpack
- cmake-gui
- ccmake
- data
- sphinx-html
- sphinx-singlehtml
- sphinx-qthelp
Other now Unspecified.
Diffstat (limited to 'Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in')
-rw-r--r-- | Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in b/Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in new file mode 100644 index 0000000..5c929e8 --- /dev/null +++ b/Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in @@ -0,0 +1,21 @@ +// Component: CMake.Documentation.SphinxHTML + +function Component() +{ + // Default constructor +} + +Component.prototype.createOperations = function() +{ + // Create shortcut + if (installer.value("os") === "win") { + + component.addOperation("CreateShortcut", + installer.value("TargetDir") + "/@CMAKE_DOC_DIR@/html/index.html", + installer.value("StartMenuDir") + "/CMake Documentation.lnk"); + + } + + // Call default implementation + component.createOperations(); +} |