2010/4/23 Magnus Therning <[email protected]>: > On Fri, Apr 23, 2010 at 14:31, Eric Noulard <[email protected]> wrote: >> 2010/4/23 Magnus Therning <[email protected]>: >>> Is there a target for 'install' that I can add dependencies to by >>> using add_dependencies()? >> >> This is currently unsupported. >> >> There is a feature request for that: >> http://public.kitware.com/Bug/view.php?id=8438 > > Ah, and it's been around for a while too. My use-case is slightly > different, I have a project where I'd like the ALL target build > everything, but where there's only a small portion which is actually > installed, so I'd like to do something like > > set( CMAKE_SKIP_INSTALL_ALL_DEPENDENCY "TRUE" ) > add_dependency( INSTALL TheStuffToInstall )
You browse/search the ML archive http://www.cmake.org/Wiki/CMake_FAQ#Where_can_I_find_searchable_CMake_Mailing_Archives.3F you'll find several "similar" needs with possible solutions. -- 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
