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.Documentation.SphinxHTML.qs.in
// 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();
}
back to top