[CMake] Depending on all and custom targets
Eric Noulard
eric.noulard at gmail.com
Fri Oct 9 06:17:06 EDT 2009
2009/10/9 jens persson <jens at persson.cx>:
> add_custom_target(extras
> DEPENDS bar
> )
>
> which builds foo when running make all and bar when make extras
>
> I have tried to simply add:
> add_custom_target(complete
> DEPENDS extras all
> )
>
> which gives the following error:
[...]
> I get the impression that I have two problems: depending on a
> custom_target and depending on all.
Dependency from builtin target is currently unsupported.
see:
http://public.kitware.com/Bug/view.php?id=8438
I think dependency from "extras" should work did you try with
only "extras" and not "all"?
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
More information about the CMake
mailing list