Configuration retrieval for external tools

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

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: 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.



Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

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

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe: