/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 2705 by jpye, Thu Jan 24 08:16:44 2013 UTC revision 2706 by jpye, Sat Aug 17 10:16:07 2013 UTC
# Line 21  winarchtag = "-win32" Line 21  winarchtag = "-win32"
21  if platform.architecture()[0] == "64bit":  if platform.architecture()[0] == "64bit":
22      winarchtag="-amd64"      winarchtag="-amd64"
23    
24    import SCons.Warnings
25    SCons.Warnings.suppressWarningClass(SCons.Warnings.VisualCMissingWarning)
26    
27  #------------------------------------------------------  #------------------------------------------------------
28  # PLATFORM DEFAULTS  # PLATFORM DEFAULTS
29    
# Line 62  default_swig="swig" Line 65  default_swig="swig"
65  icon_extension = '.png'  icon_extension = '.png'
66    
67  if platform.system()=="Windows":  if platform.system()=="Windows":
68      if os.path.exists("c:\\MinGW"):      try:
69          default_prefix="c:\\MinGW"          d = os.path.split(os.path.dirname(WhereIs("gcc.exe")))[0]
70      elif os.path.exists("c:\MinGW64"):          default_prefix=d
71          default_prefix="c:\\MinGW64"      except:
72                default_prefix="c:\\mingw"
73    
74      default_libpath="$DEFAULT_PREFIX\\lib"      default_libpath="$DEFAULT_PREFIX\\lib"
75      default_cpppath="$DEFAULT_PREFIX\\include"        default_cpppath="$DEFAULT_PREFIX\\include"  
76    
# Line 917  if platform.system()=='Windows': Line 921  if platform.system()=='Windows':
921    
922  env['CAN_INSTALL']=can_install  env['CAN_INSTALL']=can_install
923    
924  print "TCL=",env['TCL']  #print "TCL=",env['TCL']
925  print "TCL_CPPPATH =",env['TCL_CPPPATH']  #print "TCL_CPPPATH =",env['TCL_CPPPATH']
926  print "TCL_LIBPATH =",env['TCL_LIBPATH']  #print "TCL_LIBPATH =",env['TCL_LIBPATH']
927  print "TCL_LIB =",env['TCL_LIB']  #print "TCL_LIB =",env['TCL_LIB']
928    
929  print "ABSOLUTE PATHS =",env['ABSOLUTE_PATHS']  #print "ABSOLUTE PATHS =",env['ABSOLUTE_PATHS']
930  print "INSTALL_ASCDATA =",env['INSTALL_ASCDATA']  #print "INSTALL_ASCDATA =",env['INSTALL_ASCDATA']
931  print "INSTALL_PREFIX =",env['INSTALL_PREFIX']  #print "INSTALL_PREFIX =",env['INSTALL_PREFIX']
932  print "INSTALL_MODELS =",env['INSTALL_MODELS']  #print "INSTALL_MODELS =",env['INSTALL_MODELS']
933  print "INSTALL_SOLVERS =",env['INSTALL_SOLVERS']  #print "INSTALL_SOLVERS =",env['INSTALL_SOLVERS']
934  print "INSTALL_PYTHON =",env['INSTALL_PYTHON']  #print "INSTALL_PYTHON =",env['INSTALL_PYTHON']
935  print "INSTALL_PYTHON_ASCEND =",env['INSTALL_PYTHON_ASCEND']  #print "INSTALL_PYTHON_ASCEND =",env['INSTALL_PYTHON_ASCEND']
936    #print "DEFAULT_ASCENDLIBRARY =",env['DEFAULT_ASCENDLIBRARY']
937  print "DEFAULT_ASCENDLIBRARY =",env['DEFAULT_ASCENDLIBRARY']  #print "DEFAULT_ASCENDSOLVERS =",env['DEFAULT_ASCENDSOLVERS']
 print "DEFAULT_ASCENDSOLVERS =",env['DEFAULT_ASCENDSOLVERS']  
938    
939    
940  #------------------------------------------------------  #------------------------------------------------------

Legend:
Removed from v.2705  
changed lines
  Added in v.2706

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