2009/10/9 jens persson <[email protected]>: > 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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
