Raw File
// Component: CMake.Dialogs.QtGUI

function Component()
{
    // Default constructor
}

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

        component.addOperation("CreateShortcut",
                               "@TargetDir@/%CMAKE_BIN_DIR%/cmake-gui.exe",
                               "@StartMenuDir@/CMake (cmake-gui).lnk");

    }

    // Call default implementation
    component.createOperations();
}
back to top