Configuration retrieval for external tools

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Configuration retrieval for external tools

Olzhas Rakhimov

I need an advice how to get 'project configurations' from CMake
for another tool to use (cppdep in particular).

The issue is described there:

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.



Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: