[CMake] A target for 'install'?

Eric Noulard eric.noulard at gmail.com
Fri Apr 23 10:56:43 EDT 2010


2010/4/23 Magnus Therning <magnus at therning.org>:
> On Fri, Apr 23, 2010 at 14:31, Eric Noulard <eric.noulard at gmail.com> wrote:
>> 2010/4/23 Magnus Therning <magnus at therning.org>:
>>> 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


More information about the CMake mailing list