2012/2/17 Steven Wilson <steven.wesley.wil...@gmail.com>:
> I have a large software system that depends on third party libraries.   The
> CMake system that builds this software uses install() to copy these
> libraries into the appropriate place in the layout.   On some systems I
> would like to provide my developers with the option of not copying these
> libraries and instead creating symbolic links to the libraries in the
> software layout.   Using symbolic links would save a great deal of disk
> space for developers when they have many different versions(debug, profile,
> etc...) of the software build system.    Is there a way to create symbolic
> links to files rather than copy files at install time?

You could certainly achieve that using
install(CODE
or
install(SCRIPT

and execute_process with cmake -E create_symlink
that said it will only work on unix.




-- 
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

Reply via email to