mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
9bc6eb8e1f
The Ninja generator and Visual Studio generators are special-cased for the
QtAutogen feature. In order to reduce the number of custom targets, the Visual
Studio generators prefer to create custom commands instead, and in order to
create appropriate Ninja files, generated rcc files are listed as byproducts.
This requires the use of the GetConfigCommonSourceFiles API of the
cmGeneratorTarget for those generators when initializing the autogen target.
The initializer method is called from Compute() after the cmGeneratorTarget
objects are created, however the initialization of the object directory occurs
later in the InitGeneratorTargets method. That means that the resulting object
locations are computed incorrectly and cached before the object directory is
determined, so the generated buildsystem can not find the object files.
The initialization of the object directory was split from the creation of
cmGeneratorTarget instances in commit
|
||
---|---|---|
.. | ||
Adir | ||
automoc_rerun | ||
autorcc_depends | ||
Bdir | ||
defines_test | ||
sub | ||
abc_p.h | ||
abc.cpp | ||
abc.h | ||
bar.cpp | ||
blub.cpp | ||
blub.h | ||
calwidget.cpp | ||
calwidget.h | ||
calwidget.ui | ||
CMakeLists.txt | ||
codeeditor.cpp | ||
codeeditor.h | ||
debug_class.cpp | ||
debug_class.h | ||
debug_class.ui | ||
debug_resource.qrc | ||
empty.cpp | ||
empty.h | ||
foo.cpp | ||
foo.h | ||
gadget.cpp | ||
gadget.h | ||
generated_resource.qrc.in | ||
generated.cpp | ||
generated.h | ||
generated.txt.in | ||
libC.cpp | ||
libC.h | ||
main.cpp | ||
multiplewidgets.cpp | ||
multiplewidgets.h | ||
myinterface.h.in | ||
myotherinterface.h.in | ||
not_generated_file.qrc | ||
private_slot.cpp | ||
private_slot.h | ||
rcconly.cpp | ||
resourcetester.cpp | ||
resourcetester.h | ||
second_resource.qrc | ||
second_widget.cpp | ||
second_widget.h | ||
second_widget.ui | ||
targetObjectsTest.cpp | ||
test.qrc | ||
widget1.ui | ||
widget2.ui | ||
xyz.cpp | ||
xyz.h | ||
yaf_p.h | ||
yaf.cpp | ||
yaf.h |