https://github.com/Kitware/CMake
Raw File
Tip revision: 166bf4c490b8f46eca057fc23c3f3c2e042e9cb3 authored by Brad King on 13 December 2017, 13:34:28 UTC
CMake 3.10.1
Tip revision: 166bf4c
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