mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 23:29:57 +00:00
4971799360
Now cpack_ifw_configure_file command used to configure template files of component's scripts. Now for these template files we can use QtIFW predefined variables (like @VAR@) and template variables in Qt/IFW/SDK/Creator templates style (like %VAR%). Now CMake_INSTALL_INFIX advanced variable used to configure CMake installation destination when package as part of QtSDK.
22 lines
483 B
Plaintext
22 lines
483 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_BIN_DIR%/cmake-gui.exe",
|
|
"@StartMenuDir@/CMake (cmake-gui).lnk");
|
|
|
|
}
|
|
|
|
// Call default implementation
|
|
component.createOperations();
|
|
}
|