[CMake] Proper way to export a library

Cyrille Faucheux cyrille.faucheux at gmail.com
Wed Oct 30 13:56:02 EDT 2013


Hi,

I'm trying to learn how to properly import/export librairies with CMake.

I think I've read somewhere that the proper way to export libraries is
through the module mode (as described in [1]), but:
a) I can't find back where I've read that,
b) Lots of libraries are still using the module mode (Find*.cmake).

Can you confirm me which mode I should choose?

Thanks
Cyrille

[1]:
http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131030/242e0c4d/attachment.htm>


More information about the CMake mailing list