No subject


Mon Dec 15 09:51:36 EST 2008


to existing targets, not for creating new ones.

My testing though seems to show that the correct usage is actually:

add_custom_command(foo ...)

if you use:

add_custom_command(TARGET foo ...)

then the target name (verified by 'make help') is called "TARGET", not "foo"

cmake 2.6-patch2

Should work though.   Thanks!

-- 
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little
temporary Safety,
deserve neither Liberty nor Safety.
    -- Benjamin Franklin


More information about the CMake mailing list