summaryrefslogtreecommitdiffstats
path: root/Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in
blob: 5c929e86fd1f617c8743ac52ed17ba5074f5620f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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();
}