[CMake] Relink to shared libs
Leif Walsh
leif.walsh at gmail.com
Wed Oct 24 10:42:37 EDT 2012
David,
I have had some build time success by adopting the ninja generator. It's got some dependency issues but it's workable, and though it doesn't solve the relinking issue, it does make builds generally a lot faster.
Sent from my iPhone
On Oct 24, 2012, at 10:35, DavidAllen <dallen at insynchsoft.co.uk> wrote:
> I agree with Leif Walsh....
>
> I am currently looking at replacing my unix makefile (linux+gmake,
> solaris+make/gmake) and Windows VS projects, with cmake.
>
> For the makefiles I get gcc to output dependency files based on header file
> usage, using gcc options -MM -MF -MP -MT.
>
> This has worked really well for over a year. If I modify a cpp file that is
> used by the shared lib, then the executable does not re-link. If I modify a
> .h file that is used by the shared lib *and* the executable, then it WILL
> re-link.
>
> Can I confirm that I cannot replicate this functionality with cmake ?
>
> If so then this may be a blocker for CMAKE adoption , since we have long
> build times, and dont want to make them longer.
>
> regards. David
>
>
>
> --
> View this message in context: http://cmake.3232098.n2.nabble.com/Relink-to-shared-libs-tp7580943p7582156.html
> Sent from the CMake mailing list archive at Nabble.com.
> --
>
> 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