Files
CMake/Modules
Sebastian Holtermann a8ee7406a7 Autogen: Improved multi-config include scheme
For multi configuration generators AUTOMOC generates the
moc files that are included in `mocs_compilation.cpp`
in `AUTOGEN_BUILD_DIR/include_$<CONFIG>/`. By doing so each
configuration reads different moc files when compiling
`mocs_compilation.cpp`. Since we do not (need to) rewrite
`mocs_compilation.cpp` on a configuration change anymore,
the files also does not need to be recompiled anymore.
Not having to rewrite and recompile `mocs_compilation.cpp`
on a configuration change anymore was the main objective of
this patch.

In a similar fashion AUTORCC generates a `qrc_BASE_CMAKE.cpp`
file below `AUTOGEN_BUILD_DIR/include_$<CONFIG>/` and
`qrc_BASE.cpp` becomes a mere wrapper that includes this
actuall rcc output file (when using multi configuration
generators).

The template files `Modules/AutoRccInfo.cmake.in` and
`Modules/AutogenInfo.cmake.in` were removed in favor
of writing the info `.cmake` files manually.

Closes #17230
2018-02-02 09:10:40 +01:00
..
2018-01-29 08:04:28 -05:00
2018-01-09 09:26:20 -05:00
2017-03-07 15:22:55 -05:00
2018-01-04 06:52:01 +11:00
2018-01-04 06:52:01 +11:00
2018-01-04 06:52:01 +11:00
2018-01-04 06:52:01 +11:00
2018-01-04 06:52:01 +11:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2018-01-04 06:52:01 +11:00
2018-01-04 06:52:01 +11:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
https://cmake.org/Wiki/CMake:Module_Maintainers