CMake/Tests/QtAutogen
Stephen Kelly 8f8edeb09b QtAutogen: Only add source files to the target if AUTORCC is ON.
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
2014-02-05 10:13:39 +01:00
..
Adir Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
Bdir Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
defines_test Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
sub QtAutogen: Make uic work even when the source is in a subdir. 2014-02-04 13:21:43 -05:00
CMakeLists.txt QtAutogen: Only add source files to the target if AUTORCC is ON. 2014-02-05 10:13:39 +01:00
abc.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
abc.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
abc_p.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
bar.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
blub.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
blub.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
calwidget.cpp Add automatic uic invocation for Qt. 2013-10-24 12:30:38 +02:00
calwidget.h Add automatic uic invocation for Qt. 2013-10-24 12:30:38 +02:00
calwidget.ui Add automatic uic invocation for Qt. 2013-10-24 12:30:38 +02:00
codeeditor.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
codeeditor.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
empty.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
empty.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
foo.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
foo.h Merge topic 'fix-automoc-compile-definitions' 2013-11-05 13:32:15 -05:00
gadget.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
gadget.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
generated.cpp cmQtAutogen: Allow specifying depends for autogen targets. 2013-11-25 22:41:21 +01:00
generated.h cmQtAutogen: Allow specifying depends for autogen targets. 2013-11-25 22:41:21 +01:00
libC.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
libC.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
main.cpp Add automatic rcc invocation for Qt. 2013-10-24 12:30:41 +02:00
myinterface.h.in cmQtAutogen: Allow specifying depends for autogen targets. 2013-11-25 22:41:21 +01:00
not_generated_file.qrc QtAutogen: Only add source files to the target if AUTORCC is ON. 2014-02-05 10:13:39 +01:00
private_slot.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
private_slot.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
resourcetester.cpp Add automatic rcc invocation for Qt. 2013-10-24 12:30:41 +02:00
resourcetester.h Add automatic rcc invocation for Qt. 2013-10-24 12:30:41 +02:00
test.qrc Add automatic rcc invocation for Qt. 2013-10-24 12:30:41 +02:00
xyz.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
xyz.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
yaf.cpp Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
yaf.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
yaf_p.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00