[CMake] Interresting dependency problem

Hendrik Sattler post at hendrik-sattler.de
Thu Sep 27 14:10:22 EDT 2007


Am Donnerstag 27 September 2007 schrieb Félix C. Morency:
> Could you please elaborate on "an automatically written cmake script". I
> would like to know more about it and how it can be acheived.

See http://www.cmake.org/HTML/Documentation.html and search for 
EXPORT_LIBRARY_DEPENDENCIES.
The FILE command below that is a possibility to combine this with other 
commands.

> The use of 
> pkgconfig is prohibited, just like shell scripts and env. variables. The
> solution has to be as portable as it can be (win32, linux, macosx, etc.)

pkgconfig _is_ portable. It works on all the mentioned platforms, AFAIK.

HS


More information about the CMake mailing list