https://github.com/Kitware/CMake
Raw File
Tip revision: c69d4b177fb3f6ebd22cddec919dbe1c30f43714 authored by Brad King on 11 March 2021, 14:23:18 UTC
CMake 3.20.0-rc4
Tip revision: c69d4b1
CMake.Dialogs.QtGUI.qs.in
// 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