Files
CMake/Source/QtIFW/CMake.Documentation.SphinxHTML.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
506 B
Plaintext

// Component: CMake.Documentation.SphinxHTML
function Component()
{
// Default constructor
}
Component.prototype.createOperations = function()
{
// Create shortcut
if (installer.value("os") === "win") {
component.addOperation("CreateShortcut",
"@TargetDir@/%CMake_INSTALL_DOC_DIR%/html/index.html",
"@StartMenuDir@/CMake Documentation.lnk");
}
// Call default implementation
component.createOperations();
}