summaryrefslogtreecommitdiffstats
path: root/Source/QtIFW/CMake.Documentation.SphinxHTML.qs.in
blob: 54bc14ae98cddedb552e8d8a19794d96230324b3 (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",
                               "@TargetDir@/%CMAKE_DOC_DIR%/html/index.html",
                               "@StartMenuDir@/CMake Documentation.lnk");

    }

    // Call default implementation
    component.createOperations();
}