[CMake] creating custom make targets

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Feb 18 18:40:21 EST 2009


Aaron Turner wrote:
> Basically, I'm looking for a way to create a new make target
> "test_standard" and associate create_custom_target()'s to it.

I assume you mean add_custom_target.

> Suggestions?

Use add_custom_command(TARGET test_standard [...]) (and also 
add_dependencies as needed)? What doesn't work?

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
"Nobody expects the traditional Bourne shell!"



More information about the CMake mailing list