/[escript]/trunk/scons/windows_intelc_options.py
ViewVC logotype

Diff of /trunk/scons/windows_intelc_options.py

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

revision 1810 by ksteube, Thu Sep 25 06:53:26 2008 UTC revision 1836 by phornby, Fri Oct 3 01:53:50 2008 UTC
# Line 12  Line 12 
12  ########################################################  ########################################################
13    
14    
15  import sys, os  from windows_mscv71_options import *
16    
 source_root = os.path.realpath('.')  
   
 pyinstall = os.path.join(source_root,'esys')  
 incinstall = os.path.join(source_root,'include')  
 libinstall = os.path.join(source_root,'lib')  
 exinstall = os.path.join(source_root,'examples')  
   
 # locations of files for python  
 py_vers = '%s%s'%(sys.version_info[0],sys.version_info[1])  
 python_root = 'C:/python' + py_vers  
 python_cmd = os.path.join(python_root,'python')  
 python_path =  os.path.join(python_root,'include')  
 python_lib_path = os.path.join(python_root,'libs')  
 python_lib = 'python' + py_vers  
   
 # locations of libraries for boost  
 dotdot = os.path.realpath('..')  
 boost_path = os.path.join(dotdot,'boost-1.33')  
 boost_lib_path = os.path.join(boost_path,'windows_binary','lib')  
 boost_lib = 'boost_python-vc71-mt-1_33_1.lib'  
   
 # locations of netcdf  
 useNetCDF = "yes"  
 netCDF_root = os.path.join(dotdot,"netcdf")  
 netCDF_path = os.path.join(netCDF_root,"src","include")  
 netCDF_lib_path = os.path.join(netCDF_root,'lib')  
 netCDF_libs = ["netcdf", "netcdf_cpp" ]  
   
 cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF', 'BOOST_NO_INTRINSIC_WCHAR_T' ]  
17  # c flags to use  # c flags to use
18  # 1563 - taking adress of a temporary  cc_flags  = '/FD /EHsc /GR /Qvc7.1 '
19  # 811 - exception specification for implicitly declared virtual function (destructor usually) incompatible with that of override  cc_optim  = '/O2 /Op /MD /W3'
20  # 161 - openmp pargmas are unknown when not compiling with openmp  cc_debug  = '/Od /RTC1 /MDd /ZI /Yd /Y-'
 cc_common_flags = '/FD /EHsc /GR /Qvc7.1 '  
 cc_flags  = cc_common_flags + '/O2 /Op /MD /W3'  
   
 cc_flags_debug  = cc_common_flags + '/Od /RTC1 /MDd /ZI'  
   
 # c++ flags to use  
 cxx_flags = ''  
 cxx_flags_debug = ''  
   
 # linker flags to use  
 #link_flags = ''  
 link_flags_debug = '/debug /incremental:no /opt:ref /opt:icf'  
   
 # static library archiver flags to use  
 #ar_flags = 'crus'  
   
 # system specific libraries to link with  
 sys_libs = ["C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib/Ws2_32"]  

Legend:
Removed from v.1810  
changed lines
  Added in v.1836

  ViewVC Help
Powered by ViewVC 1.1.26