I have a situation where I have a few TPLs that are built via auto tools and another project with CMake.
        tpl1 -> lib1
        tpl2 -> lib2
        myproject -> libmyproj

I would like to combine the two TPLs into my project library. From looking at previous postings on this list, it seems that it was not possible a few years ago. Is that still the case?

It seems that there are two recommended options:

1. absorb tpl1 and tpl2 into the CMake build system and build the single library together. This is not a pleasant option since I don't want to recreate the build systems for tpl1 and tpl2 in CMake.

2. Set up an install for myproject that allows CMake's "find package" to automatically set lib1 and lib2 as required libraries

Are these the only two options, or does CMake now allow one to combine static libs?

Thanks for any tips,

James
_______________________________________________
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

Reply via email to