Files
cmake/Source/QtIFW/CMake.Dialogs.QtGUI.qs.in
T
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
491 B
Plaintext

// Component: CMake.Dialogs.QtGUI
function Component()
{
// Default constructor
}
Component.prototype.createOperations = function()
{
// Create shortcut
if (installer.value("os") === "win") {
component.addOperation("CreateShortcut",
"@TargetDir@/%CMake_INSTALL_BIN_DIR%/cmake-gui.exe",
"@StartMenuDir@/CMake (cmake-gui).lnk");
}
// Call default implementation
component.createOperations();
}