[CMake] Targets organisation of complex project
Mateusz Loskot
mateusz at loskot.net
Mon Oct 12 17:34:07 EDT 2009
Hendrik Sattler wrote:
> Zitat von Mateusz Loskot <mateusz at loskot.net>:
>> Trying to figure out how to organise targets I got an idea to
>> configure these sub-libraries as static library targets
>> (e.g. libgdal_cpl, libgdal_alg, libgdal_gcore, etc.) which
>> eventually link to single shared library (libgdal.so).
>> Learning CMake best practices, I stepped across an interesting
>> thread: "build a shared library from static libraries"
>>
>> http://www.cmake.org/pipermail/cmake/2008-March/020315.html
>>
>> It actually smashed my original idea :-)
>
> Why? I think you misunderstood what is written there.
I believe I have understood it well
and I got it exactly as Chris Foster explained it.
(Thanks Chris!)
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the CMake
mailing list