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

2013-07-22 Thread alex23
On 23/07/2013 5:09 AM, san wrote: 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 ho

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

2013-07-22 Thread Dave Angel
On 07/22/2013 03:09 PM, san wrote: 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 h

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

2013-07-22 Thread Ben Finney
san writes: > I have a scenario, where i need to load the make file and access its > elements. What do you mean by “elements” of a make file? Is that a term with a specific meaning, or do you mean some particular parts of the make file? > I have tried reading the make file as text file and pa

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

2013-07-22 Thread san
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 acce