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 )

/M

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe
_______________________________________________
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

Reply via email to