CMake/Tests/QtAutogen
Stephen Kelly 6e1c359fe9 QtAutogen: Regenerate qrc files if their input changes (#15074)
Get dependencies from the output of ``rcc --list`` if using
Qt 5.  Otherwise process the file in the same way as the
qt4_add_resources macro.

This does not work for RCC files which are generated.

The cmake_autogen build step is implemented as a PRE_BUILD step
of the target currently if possible, rather than a standalone
custom target.  This is to keep the number of (synthesized)
custom targets that appear in the UI low, but in some cases
it is necessary to fall back to a full custom target.

Fall back to a full custom target for the VS builds if autorcc
is used.
2014-10-24 19:45:27 +02:00
..
Adir Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02:00
autorcc_depends QtAutogen: Regenerate qrc files if their input changes (#15074) 2014-10-24 19:45:27 +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
abc_p.h Rename the QtAutomoc tests to QtAutogen. 2013-10-24 11:50:58 +02: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
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
CMakeLists.txt QtAutogen: Regenerate qrc files if their input changes (#15074) 2014-10-24 19:45:27 +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
debug_class.cpp cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
debug_class.h cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
debug_class.ui cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
debug_resource.qrc cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +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 QtAutogen: Fix AUTOGEN depends on custom command output with VS. 2014-03-10 13:01:29 +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 cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
multiplewidgets.cpp QtAutogen: Process all ui files in a source file (#14981). 2014-09-18 09:41:16 +02:00
multiplewidgets.h QtAutogen: Process all ui files in a source file (#14981). 2014-09-18 09:41:16 +02:00
myinterface.h.in cmQtAutogen: Allow specifying depends for autogen targets. 2013-11-25 22:41:21 +01:00
myotherinterface.h.in QtAutogen: Fix AUTOGEN depends on custom command output with VS. 2014-03-10 13:01:29 +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
rcconly.cpp QtAutogen: Add source files to target when only AUTORCC is used. 2014-09-17 14:39:42 +02:00
resourcetester.cpp cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
resourcetester.h Add automatic rcc invocation for Qt. 2013-10-24 12:30:41 +02:00
second_resource.qrc QtAutogen: Use the basename for resource files. 2014-03-25 01:16:49 +01:00
second_widget.cpp QtAutogen: Fix use of multiple ui files in a single target. 2014-03-25 01:39:03 +01:00
second_widget.h QtAutogen: Fix use of multiple ui files in a single target. 2014-03-25 01:39:03 +01:00
second_widget.ui QtAutogen: Fix use of multiple ui files in a single target. 2014-03-25 01:39:03 +01:00
test.qrc Add automatic rcc invocation for Qt. 2013-10-24 12:30:41 +02:00
widget1.ui QtAutogen: Process all ui files in a source file (#14981). 2014-09-18 09:41:16 +02:00
widget2.ui QtAutogen: Process all ui files in a source file (#14981). 2014-09-18 09:41:16 +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_p.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