summaryrefslogtreecommitdiffstats
path: root/Source/QtIFW/CMake.qs.in
blob: 1f3166ebb8127363fd3ea4977b9fdf030aab1ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Component: CMake

function Component()
{
    // Default constructor
}

Component.prototype.createOperations = function()
{
    // Create shortcut
    if (installer.value("os") === "win") {

        component.addOperation("CreateShortcut",
                               "@TargetDir@/%CMAKE_DOC_DIR%/cmake.org.html",
                               "@StartMenuDir@/CMake Web Site.lnk");

        component.addOperation("CreateShortcut",
                               "@TargetDir@/cmake-maintenance.exe",
                               "@StartMenuDir@/CMake Maintenance Tool.lnk");
    }

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