Thanks Eric, This solution should work and Unix is the only place where I need this to happen anyway.<br><br><div class="gmail_quote">On Fri, Feb 17, 2012 at 12:23 PM, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2012/2/17 Steven Wilson <<a href="mailto:steven.wesley.wilson@gmail.com">steven.wesley.wilson@gmail.com</a>>:<br>
<div><div class="h5">> I have a large software system that depends on third party libraries. The<br>
> CMake system that builds this software uses install() to copy these<br>
> libraries into the appropriate place in the layout. On some systems I<br>
> would like to provide my developers with the option of not copying these<br>
> libraries and instead creating symbolic links to the libraries in the<br>
> software layout. Using symbolic links would save a great deal of disk<br>
> space for developers when they have many different versions(debug, profile,<br>
> etc...) of the software build system. Is there a way to create symbolic<br>
> links to files rather than copy files at install time?<br>
<br>
</div></div>You could certainly achieve that using<br>
install(CODE<br>
or<br>
install(SCRIPT<br>
<br>
and execute_process with cmake -E create_symlink<br>
that said it will only work on unix.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
--<br>
Erk<br>
Membre de l'April - « promouvoir et défendre le logiciel libre » -<br>
<a href="http://www.april.org" target="_blank">http://www.april.org</a><br>
</font></span></blockquote></div><br>