2015-11-17 17:22:37 +01:00
|
|
|
// Component: CMake.Documentation.SphinxHTML
|
|
|
|
|
|
|
|
function Component()
|
|
|
|
{
|
|
|
|
// Default constructor
|
|
|
|
}
|
|
|
|
|
|
|
|
Component.prototype.createOperations = function()
|
|
|
|
{
|
|
|
|
// Create shortcut
|
|
|
|
if (installer.value("os") === "win") {
|
|
|
|
|
|
|
|
component.addOperation("CreateShortcut",
|
2017-04-14 19:02:05 +02:00
|
|
|
"@TargetDir@/%CMAKE_DOC_DIR%/html/index.html",
|
|
|
|
"@StartMenuDir@/CMake Documentation.lnk");
|
2015-11-17 17:22:37 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Call default implementation
|
|
|
|
component.createOperations();
|
|
|
|
}
|