[Scons-users] configuration file

Neal Becker ndbecker2 at gmail.com
Wed Jun 1 07:31:15 EDT 2016


I need to alter my build depending on the setup, and decided the easiest 
thing in to have a 'site.cfg' file that sets some variables (basically sets 
paths for things)

For now I've added to my SConscript:
exec (open('site.cfg').read())

Is there a preferred way to accomplish this with scons?




More information about the Scons-users mailing list