How to read a make file in python and access its elements

san santosh.ssit at gmail.com
Mon Jul 22 15:09:05 EDT 2013


How to read/load  the cmake file in python and access its elements.  
I have a scenario, where i need to load the make file and access its elements.  
I have tried reading the make file as text file and parsing it,but its not the ideal solution 
Please let me know how to load the .mk file and access its elements in python.



More information about the Python-list mailing list