[CMake] Relink to shared libs

Leif Walsh leif.walsh at gmail.com
Fri Aug 3 14:41:25 EDT 2012


This is sort of the point of shared libs though, you can update them without relinking everything on your system, unless you're doing something really brain-damaged.

Is there any way I, as someone who knows my libraries are sane, can prevent this extra work and just resort to a "make clean" if I really screw something up?

Sent from my iPhone

On Jul 20, 2012, at 8:28, Andreas Naumann <Andreas-Naumann at gmx.net> wrote:

> If you are using the Makefile system, then the libraries are newer than your tests, so your tests seems to need an update.
> 
> And sometimes programs need relinking, where should the build system now, if you really need the relinking?
> 
> 
> Am 20.07.2012 14:08, schrieb Leif Walsh:
>> Why, if I make a small change to my shared library, does cmake relink all of my tests to it? It's a shared library, isn't the point that it doesn't need relinking? Seems like a big waste of time. Can I suppress this in any way?
>> 
>> Sent from my iPhone
>> --
>> 
>> 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
>> 
>>   
> 
> --
> 
> 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


More information about the CMake mailing list