/[escript]/branches/domexper/scons/windows_mscv71_options.py
ViewVC logotype

Diff of /branches/domexper/scons/windows_mscv71_options.py

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

revision 1633 by trankine, Sat Jul 12 07:45:17 2008 UTC revision 2629 by trankine, Tue Aug 25 06:39:26 2009 UTC
# Line 1  Line 1 
1    
2    ########################################################
3  #  #
4  # $Id$  # Copyright (c) 2003-2009 by University of Queensland
5  #  # Earth Systems Science Computational Center (ESSCC)
6  #######################################################  # http://www.uq.edu.au/esscc
 #  
 #           Copyright 2003-2007 by ACceSS MNRF  
 #       Copyright 2007 by University of Queensland  
 #  
 #                http://esscc.uq.edu.au  
 #        Primary Business: Queensland, Australia  
 #  Licensed under the Open Software License version 3.0  
 #     http://www.opensource.org/licenses/osl-3.0.php  
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  import sys, os
16    
# Line 29  python_root = 'C:/python' + py_vers Line 27  python_root = 'C:/python' + py_vers
27  python_cmd = os.path.join(python_root,'python')  python_cmd = os.path.join(python_root,'python')
28  python_path =  os.path.join(python_root,'include')  python_path =  os.path.join(python_root,'include')
29  python_lib_path = os.path.join(python_root,'libs')  python_lib_path = os.path.join(python_root,'libs')
30  python_lib = 'python' + py_vers  python_libs = ['python' + py_vers]
31    
32  # locations of libraries for boost  # locations of libraries for boost
33  dotdot = os.path.realpath('..')  dotdot = os.path.realpath('..')
34  boost_path = os.path.join(dotdot,'boost-1.33')  boost_path = os.path.join(dotdot,'boost_1_39_0')
35  boost_lib_path = os.path.join(boost_path,'windows_binary','lib')  boost_lib_path = os.path.join(boost_path,'stage','lib')
36  boost_lib = 'boost_python-vc71-mt-1_33_1.lib'  boost_libs = ['boost_python-vc71-mt-1_39']
37    
38  # locations of netcdf  # locations of netcdf
39  useNetCDF = "yes"  useNetCDF = "yes"
# Line 46  netCDF_libs = ["netcdf", "netcdf_cpp" ] Line 44  netCDF_libs = ["netcdf", "netcdf_cpp" ]
44    
45  cc_defines = ['_USE_MATH_DEFINES']  cc_defines = ['_USE_MATH_DEFINES']
46  # c flags to use  # c flags to use
47  # 1563 - taking adress of a temporary  # /wd4068 - ignore unknown pragmas.
48  # 811 - exception specification for implicitly declared virtual function (destructor usually) incompatible with that of override  # /EHsc - /EHsc Catch C++ exceptions only, assume C code does not throw.
49  # 161 - openmp pargmas are unknown when not compiling with openmp  # /GR - enable RTTI.
50  cc_common_flags = '/FD /EHsc /GR /wd4068 '  # /MD - link to DLL multithreaded RTL
51  cc_flags  = cc_common_flags + '/O2 /Op /MD /W3'  # /ZI - dont put the library name in the .obj file.
52    # /Yd - Put debug info in .obj file.
53  cc_flags_debug  = cc_common_flags + '/Od /RTC1 /MDd /ZI /Yd /Y-'  # /Y- - Ignore precompiled header options, we don't want them.
54    # /RTCcsu - Stack frame, use of uninitialised variabe and truncation checks.
55  # c++ flags to use  cc_flags  = '/EHsc /GR /wd4068  /MD'
56  cxx_flags = ''  cc_optim  = '/O2 /Op /W3'
57  cxx_flags_debug = ''  cc_debug  = '/Od /RTCcsu /ZI /Yd /Y-'
58    
59    # MPI version using MPICH2
60    usempi = 'yes'
61    mpi_path = 'C:/Program Files/MPICH2/include'
62    mpi_lib_path = 'C:/Program Files/MPICH2/lib'
63    mpi_libs = ['mpi']
64    mpi_flavour = 'MPICH2'
65    
66  # linker flags to use  # linker flags to use
67  #link_flags = ''  #link_flags = ''
68  link_flags_debug = '/debug /incremental:no /opt:ref /opt:icf'  #link_flags_debug = '/debug /incremental:no /opt:ref /opt:icf'
69    
70  # static library archiver flags to use  # static library archiver flags to use
71  #ar_flags = 'crus'  #ar_flags = 'crus'
72    
73  # system specific libraries to link with  # system specific libraries to link with
74  sys_libs = ["C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib/Ws2_32"]  sys_libs = ["C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib/Ws2_32"]
75    
76    tools_names = ['msvc']

Legend:
Removed from v.1633  
changed lines
  Added in v.2629

  ViewVC Help
Powered by ViewVC 1.1.26