Hi Ravi,

On 12.06.2015 07:33, RAVI NANJUNDAPPA wrote:
Hi ,

There is a configure_file() in Cmake , which Copies a file <input> to file 
<output> and substitutes variable values referenced in the file content.
This is basically used to generate the <project>.pc file from <project>.pc.in 
file.
Can anyone help me how to achieve the similar functionality using scons ?


the functionality you search for is encapsulated by the "textfile" Tool, especially the Substfile() Builder. Please have a look at the UserGuide's appendix B (or use 'man scons') where all the different available builder methods are described, and also some examples are given.

If you encounter further problems, feel free to continue asking questions...but please post them to the user mailing list "[email protected]". This developer ML is intended to discuss core issues, and the number of ears you can reach here is very small. ;)

Best regards,

Dirk

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to