[CMake] Exclude a target

Leopold Palomo Avellaneda leo at alaxarxa.net
Mon Sep 22 15:33:36 EDT 2008


A Dilluns 22 Setembre 2008, Esben Mose Hansen va escriure:
> On Monday 22 September 2008 20:00:03 Leopold Palomo Avellaneda wrote:
> > Hi,
> >
> > I create some custom targets, but I would like that make does NOT DO it
> > if I run make, _only_ when I run make mytarget.
> >
> > Is this possible?
>
> Use add_custom_target without the ADD. See the doc for add_custom_target.

without the ALL, not the ADD, no?

Ok, thanks. 

Regards,

Leo

-- 
--
Linux User 152692
PGP: 0xF944807E
Catalonia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080922/35dc5027/attachment.pgp>


More information about the CMake mailing list