/[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 1041 by phornby, Fri Mar 16 09:11:10 2007 UTC revision 1810 by ksteube, Thu Sep 25 06:53:26 2008 UTC
# Line 1  Line 1 
1  # locations of include files for python  
2  python_path = 'C:/python23/include'  ########################################################
3  python_lib_path = 'C:/python23/libs'  #
4  python_lib = 'python23'  # Copyright (c) 2003-2008 by University of Queensland
5    # Earth Systems Science Computational Center (ESSCC)
6    # http://www.uq.edu.au/esscc
7    #
8    # Primary Business: Queensland, Australia
9    # Licensed under the Open Software License version 3.0
10    # http://www.opensource.org/licenses/osl-3.0.php
11    #
12    ########################################################
13    
14    
15    import sys, os
16    
17    source_root = os.path.realpath('.')
18    
19    pyinstall = os.path.join(source_root,'esys')
20    incinstall = os.path.join(source_root,'include')
21    libinstall = os.path.join(source_root,'lib')
22    exinstall = os.path.join(source_root,'examples')
23    
24    # locations of files for python
25    py_vers = '%s%s'%(sys.version_info[0],sys.version_info[1])
26    python_root = 'C:/python' + py_vers
27    python_cmd = os.path.join(python_root,'python')
28    python_path =  os.path.join(python_root,'include')
29    python_lib_path = os.path.join(python_root,'libs')
30    python_lib = 'python' + py_vers
31    
32  # locations of libraries for boost  # locations of libraries for boost
33  boost_path = 'Q:/src/boost'  dotdot = os.path.realpath('..')
34  boost_lib_path = 'Q:/src/boost/windows_binary/lib'  boost_path = os.path.join(dotdot,'boost-1.33')
35  boost_lib = 'boost_python-vc71-mt-s-1_31'  boost_lib_path = os.path.join(boost_path,'windows_binary','lib')
36    boost_lib = 'boost_python-vc71-mt-1_33_1.lib'
37    
38  # locations of netcdf  # locations of netcdf
39  netCDF_path = "Q:/src/netcdf/src/include"  useNetCDF = "yes"
40  netCDF_lib_path = "Q:/src/netcdf/src/win32/NET/release"  netCDF_root = os.path.join(dotdot,"netcdf")
41  netCDF_libs_cxx = [ 'netcdf' ]  netCDF_path = os.path.join(netCDF_root,"src","include")
42    netCDF_lib_path = os.path.join(netCDF_root,'lib')
43    netCDF_libs = ["netcdf", "netcdf_cpp" ]
44    
45  cc_defines = ['_USE_MATH_DEFINES', 'BOOST_NO_INTRINSIC_WCHAR_T', 'DLL_NETCDF' ]  cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF', 'BOOST_NO_INTRINSIC_WCHAR_T' ]
46  # c flags to use  # c flags to use
47  # 1563 - taking adress of a temporary  # 1563 - taking adress of a temporary
48  # 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
49  # 161 - openmp pargmas are unknown when not compiling with openmp  # 161 - openmp pargmas are unknown when not compiling with openmp
50  cc_flags  = '/GR /EHsc /MD /Qc99 /Qopenmp /Qopenmp-report1 /O3 /G7 /Qprec /Qparallel /Qpar-report1 /QxP /QaxP'  cc_common_flags = '/FD /EHsc /GR /Qvc7.1 '
51    cc_flags  = cc_common_flags + '/O2 /Op /MD /W3'
52    
53  cc_flags_debug  = '/Od /MDd /RTC1 /GR /EHsc /Qc99 /Qopenmp /Qopenmp-report1 /Qprec'  cc_flags_debug  = cc_common_flags + '/Od /RTC1 /MDd /ZI'
54    
55  # c++ flags to use  # c++ flags to use
56  cxx_flags = ''  cxx_flags = ''
57  cxx_flags_debug = ''  cxx_flags_debug = ''
58    
59    # linker flags to use
60    #link_flags = ''
61    link_flags_debug = '/debug /incremental:no /opt:ref /opt:icf'
62    
63  # static library archiver flags to use  # static library archiver flags to use
64  #ar_flags = 'crus'  #ar_flags = 'crus'
65    
66  # system specific libraries to link with  # system specific libraries to link with
67  sys_libs = []  sys_libs = ["C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib/Ws2_32"]

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

  ViewVC Help
Powered by ViewVC 1.1.26