Differences between revisions 2 and 3
Revision 2 as of 2007-07-31 20:43:30
Size: 418
Editor: cscfpc15
Comment:
Revision 3 as of 2008-03-12 02:47:01
Size: 418
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

   1 # Instantiate an extension of Environment with custom functions 
   2 # such as "jcompile" and "jtest".
   3 e = JEnvironment(...)
   4 
   5 # The following hack allows to avoid the Import("*") call and the exports 
   6 # parameter of the SConscript() call in SConscript files.
   7 SCons.Script._SConscript.GlobalDict.update(
   8     {
   9         "e": e,
  10         "jcompile": e.jcompile,
  11         "jtest": e.jtest,
  12     }
  13 )

ExportImportShortcutHack (last edited 2008-03-12 02:47:01 by localhost)