On 2013-08-26 16:37, Thomas Taranowski wrote:
I tend to agree with you that 2 would not generally be a target. However, there are external factors at play that I haven't mentioned. For one, in our environment we'd like to pull the auto generated code into a code review tool, and to mechanize that we have a commit daemon running that can run the auto generate rule, and commit the difference to a review-only branch for inspection purposes. It's true that it could be accomplished by doing the all build, and grabbing the output after the build was complete, it just takes alot longer.
In that case, you could always add another custom target that depends on all of your generated output files (as well as the targets using the same depending on them), similar to a 'build all third party' target.
-- Matthew -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
