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

Diff of /trunk/scons/windows_mscv71_options.py

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

revision 1019 by phornby, Mon Mar 12 10:04:54 2007 UTC revision 1245 by phornby, Mon Aug 13 14:27:20 2007 UTC
# Line 1  Line 1 
1    import os
2    
3    source_root = os.path.realpath('.')
4    
5    pyinstall = os.path.join(source_root,'esys')
6    incinstall = os.path.join(source_root,'include')
7    libinstall = os.path.join(source_root,'lib')
8    exinstall = os.path.join(source_root,'examples')
9    
10  # locations of include files for python  # locations of include files for python
11  python_path = 'C:/python23/include'  python_root = 'C:/python23'
12  python_lib_path = 'C:/python23/libs'  python_cmd = os.path.join(python_root,'python')
13    python_path =  os.path.join(python_root,'include')
14    python_lib_path = os.path.join(python_root,'libs')
15  python_lib = 'python23'  python_lib = 'python23'
16    
17  # locations of libraries for boost  # locations of libraries for boost
18  boost_path = 'Q:/src/boost'  boost_path = os.path.realpath('../boost')
19  boost_lib_path = 'Q:/src/boost/windows_binary/lib'  boost_lib_path = os.path.realpath('../boost/windows_binary/lib')
20  boost_lib = 'boost_python-vc71-mt-s-1_31'  boost_lib = 'boost_python-vc71-mt-s-1_31'
21    
22  # locations of netcdf  # locations of netcdf
23  netCDF_path = "Q:/src/netcdf-3.6.1/src/include"  useNetCDF = "yes"
24  netCDF_lib_path = "Q:/src/netcdf-3.6.1/src/win32/NET/debug"  netCDF_path = os.path.realpath("../netcdf/src/include")
25  netCDF_libs_cxx = [ 'netcdf' ]  netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release")
26    netCDF_libs = [ 'netcdf', 'netcdf_cpp' ]
27    
28  cc_defines = ['_USE_MATH_DEFINES', ]  cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF' ]
29  # c flags to use  # c flags to use
30  # 1563 - taking adress of a temporary  # 1563 - taking adress of a temporary
31  # 811 - exception specification for implicitly declared virtual function (destructor usually) incompatible with that of override  # 811 - exception specification for implicitly declared virtual function (destructor usually) incompatible with that of override
32  # 161 - openmp pargmas are unknown when not compiling with openmp  # 161 - openmp pargmas are unknown when not compiling with openmp
33  cc_flags  = '/FD /EHsc /GR /O2 /Op /MT /W3'  cc_common_flags = '/FD /EHsc /GR /wd4068 '
34    cc_flags  = cc_common_flags + '/O2 /Op /MT /W3'
35    
36  cc_flags_debug  = '/FD /EHsc /GR /Od /RTC1 /MTd /ZI'  cc_flags_debug  = cc_common_flags + '/Od /RTC1 /MTd /ZI'
37    
38  # c++ flags to use  # c++ flags to use
39  cxx_flags = ''  cxx_flags = ''

Legend:
Removed from v.1019  
changed lines
  Added in v.1245

  ViewVC Help
Powered by ViewVC 1.1.26