[Scons-users] Honoring the 'SDK shell' settings when using msvc and mssdk tools?
Dirk Bächle
tshortik at gmx.de
Wed Apr 3 15:14:16 EDT 2013
... and for the MSVC part you could create a copy of the msvc.py Tool.
Rename it to something like acm_msvc.py, remove the call of
"msvc_setup_env_once(env)" in the "generate" method, and distribute this
simplified version of the tool along with your sources.
You'll have to adapt your SConscripts then, and use something like
env = Environment(tools=['mslink','masm','mslib','acm_msvc'],
toolpath=['.'])
Hope this works (untested), but it should show the basic idea. You're
free to derive your own Tools from the base sources in SCons.Tool,
whenever you feel the need to do so.
Dirk
More information about the Scons-users
mailing list