// 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(); | |
} |