CMake merge requestshttps://gitlab.kitware.com/cmake/cmake/-/merge_requests2017-09-14T10:32:17-04:00https://gitlab.kitware.com/cmake/cmake/-/merge_requests/1257Autogen: Autogen target dependency as file dependency fix2017-09-14T10:32:17-04:00Sebastian HoltermannAutogen: Autogen target dependency as file dependency fixTarget dependencies of the origin target were mistakenly
forwarded to the **_autogen** target as *file* dependencies.
This patch introduces proper distinction between *target*
and *file* dependencies of the **_autogen** target.
Closes #...Target dependencies of the origin target were mistakenly
forwarded to the **_autogen** target as *file* dependencies.
This patch introduces proper distinction between *target*
and *file* dependencies of the **_autogen** target.
Closes #172783.9.3Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/2106WIP: Autogen: Use intermediate custom command for rcc wrapper generation2018-05-30T11:46:55-04:00Sebastian HoltermannWIP: Autogen: Use intermediate custom command for rcc wrapper generationFor multi configuration generators this adds a dedicated custom command
to generate the rcc output wrapper file. The file used to be generated by
the `cmake -E cmake_autorcc` command which now generates the actual rcc
output file only...For multi configuration generators this adds a dedicated custom command
to generate the rcc output wrapper file. The file used to be generated by
the `cmake -E cmake_autorcc` command which now generates the actual rcc
output file only. The motivation is to allow per configuration dependencies
of the wrapper file (custom command).
Fixes: #18006
3.12.0https://gitlab.kitware.com/cmake/cmake/-/merge_requests/3180Autogen: Add cmQtAutogen::Key class as container for frequently used strings2019-04-02T13:48:11-04:00Sebastian HoltermannAutogen: Add cmQtAutogen::Key class as container for frequently used stringsThis adds the `cmQtAutogen::Key` class to contain various `static const std::string` members that are used frequently in QtAutogen.This adds the `cmQtAutogen::Key` class to contain various `static const std::string` members that are used frequently in QtAutogen.3.15.0https://gitlab.kitware.com/cmake/cmake/-/merge_requests/2964WIP: Autogen: Rebuild AUTOUIC when a .ui files changes2019-02-18T11:37:14-05:00Sebastian HoltermannWIP: Autogen: Rebuild AUTOUIC when a .ui files changesRebuild AUTOUIC when a `.ui` files changes.Rebuild AUTOUIC when a `.ui` files changes.3.15.0https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5622Unity: Set SKIP_AUTOMOC property to ON for included source files2020-12-17T00:48:16-05:00Cristian AdamUnity: Set SKIP_AUTOMOC property to ON for included source filesThe unity source files will include the regular source files and will
be processed by AUTOMOC.
The already included source files do not need AUTOMOC to process them.
Fixes: #21604The unity source files will include the regular source files and will
be processed by AUTOMOC.
The already included source files do not need AUTOMOC to process them.
Fixes: #216043.20.0Cristian AdamCristian Adamhttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/8717Draft: Autogen: Fix Ninja uic incremental build & uic build folder leakage2024-01-08T14:56:14-05:00Orkun TokdemirDraft: Autogen: Fix Ninja uic incremental build & uic build folder leakageThis MR introduces a new policy about the usage of UI files. The primary purpose is to fix the incremental build issue with Ninja and get more control over the UI files. It also fixes the build folder leakage issue for UI files when usin...This MR introduces a new policy about the usage of UI files. The primary purpose is to fix the incremental build issue with Ninja and get more control over the UI files. It also fixes the build folder leakage issue for UI files when using the new policy.
Fixes: #16776
Fixes: #25195
Fixes: #25436
Topic-rename: autogen-uichttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7550automoc: avoid compiler warnings in linker-warning-silencing code2022-08-10T12:23:21-04:00tsdgeosautomoc: avoid compiler warnings in linker-warning-silencing codeRevise the code added by !7296. Make `cmake_automoc_silence_linker_warning` less warning-y. Fix weak-tables clang warning and copyable-polymorph clazy warning.
Fixes: #23823
Backport: release
Topic-rename: automoc-silence-warningsRevise the code added by !7296. Make `cmake_automoc_silence_linker_warning` less warning-y. Fix weak-tables clang warning and copyable-polymorph clazy warning.
Fixes: #23823
Backport: release
Topic-rename: automoc-silence-warningshttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7352AUTORCC: allow relative paths in .qrc files2022-06-17T10:02:01-04:00TJAUTORCC: allow relative paths in .qrc filesAllow relative paths in `.qrc` files to be retained instead of being
rewritten as absolute paths based in the source-code tree. This allows
out-of-tree builds to correctly find generated .qrc files in the build
tree. Controlled by `{,CMA...Allow relative paths in `.qrc` files to be retained instead of being
rewritten as absolute paths based in the source-code tree. This allows
out-of-tree builds to correctly find generated .qrc files in the build
tree. Controlled by `{,CMAKE_}AUTORCC_CANONICAL_PATHS` and defaults to
ON|TRUE. Set to OFF|FALSE to allow relative paths on targets or specific
source files to be retained.
Fixes: #23611
Topic-rename: autorcc-relative-qrchttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/7284AUTOUIC: Error when given files of the same name2022-06-28T11:44:16-04:00Josiah BillsAUTOUIC: Error when given files of the same nameNote that I am not super familiar with writing tests for your codebase, so if you want me to add a test for this I could use a little guidance.
Fixes: #23523Note that I am not super familiar with writing tests for your codebase, so if you want me to add a test for this I could use a little guidance.
Fixes: #23523https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4911AUTOGEN: Treat Qt package as a valid Qt find_package name2020-06-18T09:53:46-04:00Cristian AdamAUTOGEN: Treat Qt package as a valid Qt find_package nameFixes: #20843Fixes: #20843Cristian AdamCristian Adamhttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/3788Autogen: Remove support for CMAKE_AUTOMOC_RELAXED_MODE2019-09-07T05:06:08-04:00Sebastian HoltermannAutogen: Remove support for CMAKE_AUTOMOC_RELAXED_MODEIn `AUTOMOC`, this removes support for the already deprecated `CMAKE_AUTOMOC_RELAXED_MODE` modifier variable.
Closes: #19683
In `AUTOMOC`, this removes support for the already deprecated `CMAKE_AUTOMOC_RELAXED_MODE` modifier variable.
Closes: #19683
Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/2710Autogen: Revert passing compiler implicit includes to moc (master branch)2018-12-06T14:05:00-05:00Sebastian HoltermannAutogen: Revert passing compiler implicit includes to moc (master branch)Passing an incomplete list of compiler include directories causes
a regression in the KIO project (and probably others). We need to
disable it until the complete list is available (see #16291).
This reopens #18041 but closes #18669.Passing an incomplete list of compiler include directories causes
a regression in the KIO project (and probably others). We need to
disable it until the complete list is available (see #16291).
This reopens #18041 but closes #18669.https://gitlab.kitware.com/cmake/cmake/-/merge_requests/2067Autogen: Remove rcc info file dependency2018-05-11T14:01:23-04:00Sebastian HoltermannAutogen: Remove rcc info file dependencyThe `RCC${ORIGIN}Info.cmake` file dependency was added to the
rcc custom_command/custom_target to ensure an rcc rebuild when
the rcc settings change. This dependency now is removed and
instead the rcc output file is removed during reconf...The `RCC${ORIGIN}Info.cmake` file dependency was added to the
rcc custom_command/custom_target to ensure an rcc rebuild when
the rcc settings change. This dependency now is removed and
instead the rcc output file is removed during reconfiguration
to ensure a rcc rebuild.
Closes #17985https://gitlab.kitware.com/cmake/cmake/-/merge_requests/1710Autogen: Use std::regex for non public regular expressions2018-01-29T10:29:46-05:00Sebastian HoltermannAutogen: Use std::regex for non public regular expressionsIn the `AUTOMOC/UIC` generator use `std::regex` instead of `cmsys::RegularExpression` for non public regular expressions.In the `AUTOMOC/UIC` generator use `std::regex` instead of `cmsys::RegularExpression` for non public regular expressions.Brad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/898Autogen: Make directories before try_compile2017-05-30T13:14:02-04:00Sebastian HoltermannAutogen: Make directories before try_compileMake build directories before try_compileMake build directories before try_compileBrad KingBrad Kinghttps://gitlab.kitware.com/cmake/cmake/-/merge_requests/328Fixes AUTOMOC generating not needed automoc files in Visual Studio2017-01-11T13:14:07-05:00Francisco FacioniFixes AUTOMOC generating not needed automoc files in Visual StudioWhen CMAKE_AUTOMOC is ON it looks for all _p.c files and it generates the corresponding automoc files.When CMAKE_AUTOMOC is ON it looks for all _p.c files and it generates the corresponding automoc files.