[CMake] Configuration retrieval for external tools
Olzhas Rakhimov
ol.rakhimov at gmail.com
Sat Apr 15 21:41:42 EDT 2017
Hello,
I need an advice how to get 'project configurations' from CMake
for another tool to use (cppdep <https://github.com/rakhimov/cppdep> in
particular).
The issue is described there: https://github.com/rakhimov/cppdep/issues/17
The information needed for analysis:
1. The directory of 'internal project (s)' source files
(header/implementation)
2. Each 'internal' and 'external' project names
3. include search directories (to find headers and dependencies among
projects)
The best I could think of so far is to parse the CMakeCache.txt.
Is there a better way?
I'd appreciate feedback and references.
Thanks,
Olzhas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170415/ca3d1dbd/attachment.html>
More information about the CMake
mailing list