[cmake-developers] Tests for PRE_BUILD | PRE_LINK | POST_BUILD
Brad King
brad.king at kitware.com
Wed Dec 12 11:32:33 EST 2012
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
More information about the cmake-developers
mailing list