mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 11:22:21 -06:00
Instead of mutating `CMAKE_INSTALL_PREFIX`, add a `CMake.app/Contents/` prefix to install destinations besides the `cmake-gui` target itself.
22 lines
529 B
Plaintext
22 lines
529 B
Plaintext
// Component: CMake.Reference.DoxygenHTML
|
|
|
|
function Component()
|
|
{
|
|
// Default constructor
|
|
}
|
|
|
|
Component.prototype.createOperations = function()
|
|
{
|
|
// Create shortcut
|
|
if (installer.value("os") === "win") {
|
|
|
|
component.addOperation("CreateShortcut",
|
|
"@TargetDir@/%CMake_INSTALL_DOC_DIR%/developer-reference/html/index.html",
|
|
"@StartMenuDir@/CMake Developer Reference.lnk");
|
|
|
|
}
|
|
|
|
// Call default implementation
|
|
component.createOperations();
|
|
}
|