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')) |