Re: [CMake] Duplicating a shared library and replacing target link libraries

2016-12-05 Thread Chuck Atkins
> > The library linking against "originalLibraryForward" has to be > compiled from the original sources too. Actually performing the linking step should be sufficient. Is there a way to accomplish that? > Object libraries are what you need here. See https://cmake.org/cmake/help/v3.7/manual/cmake

[CMake] Duplicating a shared library and replacing target link libraries

2016-12-04 Thread Rainer Poisel
Hello, I am currently developing a test-framework that offers two versions of a base-library: * the "originalLibrary" and * a library "originalLibraryForward" that has the same interface as the "originalLibrary". Calls to "originalLibraryForward"-functions can be forwarded to the "originalLibr