22 lines
538 B
Plaintext
22 lines
538 B
Plaintext
// Component: CMake.Documentation.SphinxHTML
|
|
|
|
function Component()
|
|
{
|
|
// Default constructor
|
|
}
|
|
|
|
Component.prototype.createOperations = function()
|
|
{
|
|
// Create shortcut
|
|
if (installer.value("os") === "win") {
|
|
|
|
component.addOperation("CreateShortcut",
|
|
installer.value("TargetDir") + "/@CMAKE_DOC_DIR@/html/index.html",
|
|
installer.value("StartMenuDir") + "/CMake Documentation.lnk");
|
|
|
|
}
|
|
|
|
// Call default implementation
|
|
component.createOperations();
|
|
}
|