Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Source/QtIFW/CMake.Dialogs.QtGUI.qs.in
4998 views
// Component: CMake.Dialogs.QtGUI

function Component()
{
    // Default constructor
}

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

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

    }

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