diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-09-17 00:42:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-10-24 17:45:27 (GMT) |
commit | 6e1c359fe9bee71c421a671108176d47fb415d93 (patch) | |
tree | 7672d870bac30b8ede0e201558155e5107cdb9b9 /Tests/QtAutogen/autorcc_depends/test_res1.cpp | |
parent | a29953180c21ba0d56fb236eb58bafd40ae68961 (diff) | |
download | CMake-6e1c359fe9bee71c421a671108176d47fb415d93.zip CMake-6e1c359fe9bee71c421a671108176d47fb415d93.tar.gz CMake-6e1c359fe9bee71c421a671108176d47fb415d93.tar.bz2 |
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.
Diffstat (limited to 'Tests/QtAutogen/autorcc_depends/test_res1.cpp')
-rw-r--r-- | Tests/QtAutogen/autorcc_depends/test_res1.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/QtAutogen/autorcc_depends/test_res1.cpp b/Tests/QtAutogen/autorcc_depends/test_res1.cpp new file mode 100644 index 0000000..766b775 --- /dev/null +++ b/Tests/QtAutogen/autorcc_depends/test_res1.cpp @@ -0,0 +1,5 @@ + +int main() +{ + return 0; +} |