Kitware/CMake — pull request #18 by Turbo87 (2012-05-25 10:57:08+00:00)
Title: Qt4Macros: Added support for generated resource files

Using the QT4_ADD_RESOURCES() macro required the resource file to exist already for dependency scanning. This prevented the use of resource files that are generated by cmake because it needs the file before resolving the dependency. This patch adds support for generated resource files by not scanning the resource file for dependencies if it doesn't exist yet. The add_custom_command() to generate the resource file should add the dependenies on the files used by the resource file.