Autogen: Enable per-config include directories and source wrappers
AUTOMOC
For multi configuration generators:
- Use per-config
<AUTOGEN_BUILD_DIR>/include_<CONFIG>
include directories - Generate the
moc_predefs.h
file with a_<CONFIG>
suffix since it is generated using configuration specific -D definitions.
AUTOUIC
For multi configuration generators:
- Use per-config
<AUTOGEN_BUILD_DIR>/include_<CONFIG>
include directories
AUTORCC
For multi configuration generators:
- Remove per-config
qrc_FOO_$<CONFIG>.cpp
source file support. Instead use a single source fileqrc_FOO.cpp
which is a wrapper that includes the actual rcc generatedqrc_FOO_CONFIG.cpp
file. This way, after a repeated configuration change, only the wrapper fileqrc_FOO.cpp
must be regenerated to include the appropriateqrc_FOO_CONFIG.cpp
file.