summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake-gui: Fix conversion warnings about Qt indexing typesBrad King2023-02-201-0/+1
| | | | | Qt 5 uses `int` for indexing, and Qt 6 uses `qsizetype`. Add helper types and casts to the appropriate type to avoid conversion warnings.
* cmake-gui: Restore embedded version information in Windows binaryBrad King2022-11-091-3/+8
| | | | | | Refactoring in commit 89a1e1c1be (Build: Link w/ `OBJECT` library is OK since 3.12, 2022-08-21, v3.25.0-rc1~97^2~19) dropped the `.res` object containing this information from the `cmake-gui` link line. Restore it.
* Source: Fix regression causing CMakeLib sources to be compiled repeatedlyBrad King2022-10-051-1/+1
| | | | | | | In commit 4ff8604604 (Build: Do not use variables for sources lists, 2022-08-21) the sources of `CMakeLib` were accidentally made PUBLIC. This causes them to be compiled again in all consuming targets. Make the sources PRIVATE instead.
* Build: Eliminate one time used variableAlex Turbov2022-09-221-3/+1
|
* Build: Link w/ `OBJECT` library is OK since 3.12Alex Turbov2022-09-221-3/+8
|
* Build: Introduce `ManifestLib` interface libraryAlex Turbov2022-09-221-2/+2
| | | | … instead of `MANIFEST_FILE` variable.
* Build: `add_definitions()` → `add_compile_definitions()`Alex Turbov2022-09-221-1/+1
|
* Build: Do not use variables for sources listsAlex Turbov2022-09-221-11/+20
| | | | | Instead use `add_library()` with unconditionally compiled sources and conditional `target_sources()` with extra sources to compile.
* Build: Simplify `configure_file()` callsAlex Turbov2022-09-221-2/+1
|
* CMakeLists: Remove redundant spaces around CMake command callsAlex Turbov2022-09-221-10/+10
|
* Build: Modernize some `foreach` calls to use `IN LISTS`/`IN ITEMS`Alex Turbov2022-09-221-4/+4
|
* Merge branch 'master' into cmake-gui-qrc-fixKyle Edwards2021-01-111-25/+107
|\
| * cmake-gui: Fix macOS styling for binaries distributed with Qt 5.10+Brad King2021-01-071-0/+3
| | | | | | | | | | | | | | | | According to https://bugreports.qt.io/browse/QTBUG-59428, Qt 5.10 and above moved macOS style handling into a separate `qmacstyle` plugin. Install the plugin in our `CMake.app` package on macOS. Issue: #21606
| * cmake-gui: Restore minimal plugin installation for Qt5Brad King2021-01-071-2/+12
| | | | | | | | | | | | | | Since commit f1de6f6682 (cmake-gui: Support building against Qt6, 2020-12-17) all available plugins for each Qt component are installed. This installs more than we need for CMake, so restore Qt5-specific logic to install only the plugins did before.
| * cmake-gui: Restore exclusion of static plugin installationBrad King2021-01-071-1/+2
| | | | | | | | | | This was broken by commit f1de6f6682 (cmake-gui: Support building against Qt6, 2020-12-17).
| * cmake-gui: Restore installation of Qt plugin dependenciesBrad King2021-01-071-1/+1
| | | | | | | | | | | | Fix logic from commit f1de6f6682 (cmake-gui: Support building against Qt6, 2020-12-17) to restore population of the `QT_PLUGINS` variable used in our `fixup_bundle` call.
| * cmake-gui: Remove outdated FIXME comment about plugin installationBrad King2021-01-071-2/+0
| | | | | | | | Qt plugin installation conventions are now well-established.
| * cmake-gui: Fix CMake_QT_MAJOR_VERSION string comparisonBrad King2021-01-071-1/+1
| | | | | | | | | | | | Fix the string comparison added by commit 2e4cbaa521 (cmake-gui: Add a Qt version control variable, 2020-12-28). The version-based comparison is not meant for arbitrary strings.
| * cmake-gui: Add a Qt version control variableSankhesh Jhaveri2021-01-051-8/+20
| |
| * cmake-gui: Prefer local variable for Qt major versionSankhesh Jhaveri2021-01-051-23/+27
| | | | | | | | QT_DEFAULT_MAJOR_VERSION was added in Qt 5.15 and CMake supports Qt versions >= 5.9
| * cmake-gui: Support installation for both Qt5 and Qt6 pluginsSankhesh Jhaveri2021-01-051-7/+17
| |
| * cmake-gui: Use a consistent Qt major version variable nameSankhesh Jhaveri2021-01-051-20/+19
| |
| * cmake-gui: Support building against Qt6Sankhesh Jhaveri2021-01-051-21/+69
| |
* | cmake-gui: Restore linking of Qt resourcesKyle Edwards2021-01-111-2/+3
| | | | | | | | | | | | | | | | Refactoring in commit 41e223deb3 (CMake GUI: Split up into libraries, add test shim, 2020-09-14, v3.19.0-rc1~116^2~2) broke linking of Qt resources, such as the Add/Remove Entry button icons. Fixes: #21682
* | cmake-gui: Fix macOS styling for binaries distributed with Qt 5.10+Brad King2021-01-071-0/+3
|/ | | | | | | | According to https://bugreports.qt.io/browse/QTBUG-59428, Qt 5.10 and above moved macOS style handling into a separate `qmacstyle` plugin. Install the plugin in our `CMake.app` package on macOS. Issue: #21606
* cmake-gui: Attach icons only to main GUI executablesBrad King2020-10-141-2/+2
| | | | | | | | | | In commit efe48189bf (cmake-gui: Restore application icon on macOS, 2020-10-13, v3.19.0-rc1~2^2) and commit f7ae4f572b (cmake-gui: Restore application icon on Windows, 2020-10-13, v3.19.0-rc1~1^2) we attached the icon source files to all consumers of `CMakeGUILib`, but that includes other libraries like `CMakeGUIMainLib`. The latter library is meant only for direct consumption by a GUI executable, so use that to propagate the icons instead.
* cmake-gui: Restore application icon on WindowsBrad King2020-10-131-5/+1
| | | | | | | In commit 41e223deb3 (CMake GUI: Split up into libraries, add test shim, 2020-09-14) the Windows resource source file that references the icon was moved to CMakeGUILib, but it needs to be directly in the main application in order to be attached properly.
* cmake-gui: Restore application icon on macOSBrad King2020-10-131-6/+6
| | | | | | | In commit 41e223deb3 (CMake GUI: Split up into libraries, add test shim, 2020-09-14) the macOS icon source file was moved to CMakeGUILib, but it needs to be directly in the main application in order to be attached to the `.app` in the right place.
* CMake GUI: Add presets functionalityKyle Edwards2020-10-051-0/+8
|
* CMake GUI: Add environment editorKyle Edwards2020-09-281-0/+4
|
* CMake GUI: Split up into libraries, add test shimKyle Edwards2020-09-231-5/+11
|
* QtDialog: remove Qt4 definitionBen Boeckel2020-06-091-3/+0
|
* QtDialog: use Qt5's imported targetsBen Boeckel2020-06-051-15/+9
|
* QtDialog: use qt5 functions for special Qt sourcesBen Boeckel2020-06-051-15/+17
| | | | | Automoc is not supported in bootstrap builds, so it cannot be used unconditionally.
* QtDialog: remove Qt4 supportBen Boeckel2020-06-051-91/+77
|
* Add option to configure Ninja link job pool for CMake's own binariesBrad King2019-10-101-0/+4
| | | | | Create an undocumented `CMake_JOB_POOL_LINK_BIN` option that builders can set to avoid linking too many of our binaries at once.
* cmake-gui: Drop code not needed with current required CMake versionBrad King2019-03-141-3/+0
|
* QtDialog: Add windows taskbar progressJulien Jomier2018-11-201-0/+11
|
* Windows: Embed version information into cmake-guiBrad King2018-01-301-0/+4
| | | | | In commit 5b9da05b7a (Windows: Embed version information into CMake binaries, 2017-10-25) we accidentally left out cmake-gui.
* Various typo fixesLuz Paz2018-01-031-1/+1
| | | | Some are user-facing. Others are source comments.
* cmake-gui: Add build option to use Qt5 windows plugin staticallyBrad King2017-11-131-1/+7
| | | | This will enable builds against a static Qt5 on Windows.
* QtDialog: block include-what-you-useDaniel Pfeifer2017-05-051-0/+6
|
* Disable clang-tidy checks on files generated by QtDaniel Pfeifer2017-04-281-0/+13
|
* cmake-gui: Fix display of icon under Wayland.Clinton Stimpson2017-04-171-1/+1
| | | | Fixes: #16797
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* cmake-gui: Add build option to use Qt5 xcb plugin staticallyBrad King2016-06-301-0/+6
| | | | This will enable builds against a static Qt5.
* cmake-gui: Reference LGPLv3 when redistributing QtBrad King2016-06-171-3/+3
| | | | | | | | | Download http://www.gnu.org/licenses/lgpl.txt and place it as Licenses/LGPLv3.txt in our source tree. When building cmake-gui, use option CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL to enable notification in the "About" dialog of how the distribution of Qt is licensed. Install the license file as ${CMAKE_ROOT}/Licenses/LGPLv3.txt so that the dialog can display a path to it.
* cmake-gui: Populate CFBundleIdentifier in our Info.plist file (#16023)Brad King2016-03-171-0/+1
|
* QtDialog: Add option to control XDG file install destinationNiels Ole Salscheider2015-12-211-3/+3
| | | | | | | Create a `CMAKE_XDGDATA_DIR` option and add a corresponding flag to the `bootstrap` script. This is needed for multiarch layouts where the prefix is `/usr/${host}` but where architecture-independent files (like the XDG-specific ones) are installed to `/usr/share`.
* cmake-gui: Add options to control warning messagesMichael Scott2015-12-101-0/+4
| | | | | | | | | Create a new dialog window for the cmake-gui that provides controls for setting the state of suppression of developer and deprecated warning messages. This replaces the previous single checkbox for setting the state of suppression of developer warnings. Added a note for the new functionality to the release notes.