2008/11/20 Eric Noulard <eric.noul...@gmail.com>: > 2008/11/20 Hugo Heden <he...@foi.se>: >> Good day all, >> >> >> Is there any way that I can add 'install' dependency to the 'test'-target? >> >> Doing >> >> add_dependencies( test install ) >> >> does not seem to work: >> CMake Error at ... (ADD_DEPENDENCIES): >> add_dependencies Adding dependency to non-existent target: test > > I don't think it's possible to add dependencies to "built-in" CMake target > (which deserve a feature request :-) > >> Apparently neither 'test' nor 'install' counts as "top-level-targets"? > > Precisely :=) >
Feature request added: http://public.kitware.com/Bug/view.php?id=8438 Best regards Hugo Heden _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake