Hi Martin,

Martin Lambers writes:

[...]

> All the information that is required for 1) and 2) is available from
> CMAKE; it is explicitly listed in CMakeCache.txt in the "Dependencies
> for the target" sections. It should be possible to export it from CMAKE
> into the .pc files.

If any information is available from CMake, you can write it to the .pc
files easily with the CONFIGURE_FILE command. See how it is currently
done in the main CMakeLists.txt and the rest of
src/osg*/CMakeLists.txt. I also suggest running

cmake --help-command configure_file

for details.

--

Alberto
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to