Files
CMake/Source/QtIFW/CMake.DeveloperReference.HTML.qs.in
Brad King 7ebad5d201 cmake-gui: Refactor installation into CMake.app/Contents on macOS
Instead of mutating `CMAKE_INSTALL_PREFIX`, add a `CMake.app/Contents/`
prefix to install destinations besides the `cmake-gui` target itself.
2025-10-31 09:33:52 -04:00

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