/[ascend]/trunk/pygtk/SConscript
ViewVC logotype

Diff of /trunk/pygtk/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2026 by jpye, Wed Apr 29 03:38:10 2009 UTC revision 2027 by jpye, Thu Apr 30 08:27:56 2009 UTC
# Line 116  swiglib = swig_env.SharedLibrary("ascpy" Line 116  swiglib = swig_env.SharedLibrary("ascpy"
116  configpy = env.SubstInFile(source='config.py.in')  configpy = env.SubstInFile(source='config.py.in')
117  configh = env.SubstInFile(source='config.h.in')  configh = env.SubstInFile(source='config.h.in')
118    
119  if platform.system() != "Windows" or env.has_key('IS_MINGW'):  ascendcmd = env.SubstInFile(source='ascend.in')
120      ascendcmd = env.SubstInFile(source='ascend.in')  env.AddPostAction(ascendcmd, 'chmod 755 $TARGET')
     env.AddPostAction(ascendcmd, 'chmod 755 $TARGET')  
121    
122    if platform.system() != "Windows" or env.has_key('IS_MINGW'):
123      envdev = env.Clone()      envdev = env.Clone()
124      # add 'WITH_SOLVERS' to the SUBST_DICT used by ascdev...      # add 'WITH_SOLVERS' to the SUBST_DICT used by ascdev...
125      envdev['SUBST_DICT']['@WITH_SOLVERS@'] = ",".join(env.get('WITH_SOLVERS'))      envdev['SUBST_DICT']['@WITH_SOLVERS@'] = ",".join(env.get('WITH_SOLVERS'))

Legend:
Removed from v.2026  
changed lines
  Added in v.2027

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22