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