qt6-bb10/qmake/generators/win32
Joerg Bornemann e022ff0a8e qmake/vcxproj: Fix "CONFIG += combine" extra compilers
Extra compilers with "CONFIG += combine" were broken for qmake's vcxproj
generator since forever.

Usually, extra compilers are handled by attaching the Custom Build Tool
to the input file.  This is not possible for combine extra compilers,
because they map multiple inputs to one output.  We cannot attach the
Custom Build Tool to the output either, because this would result in
circular dependency errors (output trying to create output itself).

To fix this, we create a custom build tool fake file (.cbt) for the
output and attach the Custom Build Tool there.  This is the same trick
we do for regular extra compilers that have C++ sources as
input (e.g. the one that generates moc_predefs.h).

Pick-to: 6.2 5.15
Fixes: QTBUG-94806
Change-Id: Ib808a43fead737df91b89a1ac5e180aeae37efae
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-10-25 18:10:43 +02:00
..
mingw_make.cpp MinGW: Use a response file for long include paths 2020-07-06 13:41:37 +00:00
mingw_make.h Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00
msbuild_objectmodel.cpp qmake/vcxproj generator: Handle C standard compiler flags 2021-08-26 18:32:44 +02:00
msbuild_objectmodel.h qmake: Apply modernize-use-override 2018-08-08 17:30:23 +00:00
msvc_nmake.cpp QDirIterator: add nextFileInfo() 2021-07-28 15:16:42 +02:00
msvc_nmake.h Clean up class definitions of makefile generators 2019-05-16 11:36:22 +00:00
msvc_objectmodel.cpp qmake/vcxproj: Fix malformed <Message> tags 2021-10-25 10:10:08 +02:00
msvc_objectmodel.h qmake/vcxproj generator: Handle C standard compiler flags 2021-08-26 18:32:44 +02:00
msvc_vcproj.cpp qmake/vcxproj: Fix "CONFIG += combine" extra compilers 2021-10-25 18:10:43 +02:00
msvc_vcproj.h Fix dependency resolution for extra compilers in VS projects 2020-01-07 07:16:59 +01:00
msvc_vcxproj.cpp Updated license headers 2016-01-21 18:55:18 +00:00
msvc_vcxproj.h qmake: Apply modernize-use-override 2018-08-08 17:30:23 +00:00
winmakefile.cpp Use QList instead of QVector in qmake 2020-09-05 07:07:44 +02:00
winmakefile.h Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00