On Thu 11 Aug 2011 09:44:00 AM CEST, t m wrote: >> Hi All, >> >> I would like to touch flag file in the CMAKE_BINARY_DIR once the >> target all is executed with sucess. >> Since currently I'm not able to specify the dependency to this >> build-in target I do not have any hook to recognize if all sucess and >> to touch file. >> >> 1. Does anyone knows any hint that can help me with this issue >> 2. Question to CMake developers/maintainers: Is there any plan to >> implement this ticket in near future: >> http://www.cmake.org/Bug/view.php?id=8438#c26520 >> >> regards, T Majchrowski. > > Hi All, > > Does anyone knows any workarround for touching this flag till issue > will be solved ? > Thanks. > > regards, T Majchrowski.
The only way I can think of is to provide custom functions for add_library, add_executable and add_custom_target (if you use the same name, the original commands are available by appending a underscore to the name) which add a dependency of you flag target on all the other targets. What do you need it for? Michael _______________________________________________ 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