summaryrefslogtreecommitdiffstats
path: root/Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2014-12-07 18:25:28 (GMT)
committerKonstantin Podsvirov <konstantin@podsvirov.pro>2015-07-07 05:11:09 (GMT)
commit938bbc4352cf34532dc1f52998ec7d23532df765 (patch)
tree4a3c726707f16d8fd6b8ec885ab1847bbc277b65 /Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in
parentfd23fc57115d21ad08da6b131ec9abe141e583e5 (diff)
downloadCMake-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.in21
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();
+}