On 12/12/2012 11:02 AM, James Bigler wrote: > Are there any tests for PRE_BUILD | PRE_LINK | POST_BUILD arguments to > add_custom_command? I did a search in the repository, but I'm not seeing > anything: > > $ find . -name "*.cmake" -o -name "CMakeLists.txt" -print0 | xargs -0 grep -n > --color PRE_BUILD > > $ find . -name "*.cmake" -o -name "CMakeLists.txt" -print0 | xargs -0 grep -n > --color PRE_LINK > > $ find . -name "*.cmake" -o -name "CMakeLists.txt" -print0 | xargs -0 grep -n > --color POST_BUILD
There are mentions of it in the Tests directory: $ git grep -l -E '(PRE|POST)_BUILD|PRE_LINK' -- Tests |wc -l 22 but I don't know how robustly they are covered. -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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
