Hi, I have 3rd party supplied static library that we are repackaging internally as a shared library. Only a release build of the static library is supplied, thus I wish our shared library to only have a release build, but I'd like the shared library available to the users of the library no matter what the build type is (debug, release etc.)
What's the best/easiest way of implementing this type of dependency? Is it simply use a separate project and then use a FindXXXX command that adds the shared library as an imported target? Or is it using External Project or similar? Or can a specific project's build type be 'forced' to Release while projects depending upon it might be any build type (I don't think this is possible at the moment)? Thanks, Brett -- Best Regards, Brett Delle Grazie -- 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