On 08/18/2010 01:01 AM, Andreas Pakulat wrote: > On 17.08.10 14:53:02, Brad King wrote: >> The source file is being compiled in a target that does not >> wait for the header to be generated before compiling. We can >> add a dependency on the target the does provide the header. > > Instead I've added the kde4_add_ui_files to the test-target too, so it > doesn't need a dependency onto the plugin target (somehow I don't like > that, can't explain rationally why though).
This may cause the ui files to be generated twice, possibly conflicting if the rules happen to run in parallel. If they have different output directories then that is okay. If they are going to the same place it will be a problem. -Brad _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake