summaryrefslogtreecommitdiffstats
path: root/Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in
diff options
context:
space:
mode:
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();
+}