8f8edeb09b
The qtx_add_resources() macro adds the resource file to the output list to maintain file-level dependencies. Having the qrc file in a target sources is a precondition for AUTORCC to function. When processing the source files of a target, only add the generated qrc_<file>.cpp to the target sources if AUTORCC is ON. This avoids pre-porting conflict with the macro. Reported-by: Micha Hergarden |
||
---|---|---|
.. | ||
Adir | ||
Bdir | ||
defines_test | ||
sub | ||
CMakeLists.txt | ||
abc.cpp | ||
abc.h | ||
abc_p.h | ||
bar.cpp | ||
blub.cpp | ||
blub.h | ||
calwidget.cpp | ||
calwidget.h | ||
calwidget.ui | ||
codeeditor.cpp | ||
codeeditor.h | ||
empty.cpp | ||
empty.h | ||
foo.cpp | ||
foo.h | ||
gadget.cpp | ||
gadget.h | ||
generated.cpp | ||
generated.h | ||
libC.cpp | ||
libC.h | ||
main.cpp | ||
myinterface.h.in | ||
not_generated_file.qrc | ||
private_slot.cpp | ||
private_slot.h | ||
resourcetester.cpp | ||
resourcetester.h | ||
test.qrc | ||
xyz.cpp | ||
xyz.h | ||
yaf.cpp | ||
yaf.h | ||
yaf_p.h |