/[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 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 1810 by ksteube, Thu Sep 25 06:53:26 2008 UTC
# Line 1  Line 1 
1    
2    ########################################################
3  #  #
4  # $Id$  # Copyright (c) 2003-2008 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  import os  
15    import sys, os
16    
17  source_root = os.path.realpath('.')  source_root = os.path.realpath('.')
18    
# Line 23  incinstall = os.path.join(source_root,'i Line 21  incinstall = os.path.join(source_root,'i
21  libinstall = os.path.join(source_root,'lib')  libinstall = os.path.join(source_root,'lib')
22  exinstall = os.path.join(source_root,'examples')  exinstall = os.path.join(source_root,'examples')
23    
24  # locations of include files for python  # locations of files for python
25  python_root = 'C:/python23'  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')  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 = 'python23'  python_lib = 'python' + py_vers
31    
32  # locations of libraries for boost  # locations of libraries for boost
33  boost_path = os.path.realpath('../boost')  dotdot = os.path.realpath('..')
34  boost_lib_path = os.path.realpath('../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  useNetCDF = "yes"  useNetCDF = "yes"
40  netCDF_path = os.path.realpath("../netcdf/src/include")  netCDF_root = os.path.join(dotdot,"netcdf")
41  netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release")  netCDF_path = os.path.join(netCDF_root,"src","include")
42  netCDF_libs = [ 'netcdf', 'netcdf_cpp' ]  netCDF_lib_path = os.path.join(netCDF_root,'lib')
43    netCDF_libs = ["netcdf", "netcdf_cpp" ]
44    
45  cc_defines = ['_USE_MATH_DEFINES', '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_common_flags = '/FD /EHsc /GR /wd4068 '  cc_common_flags = '/FD /EHsc /GR /Qvc7.1 '
51  cc_flags  = cc_common_flags + '/O2 /Op /MT /W3'  cc_flags  = cc_common_flags + '/O2 /Op /MD /W3'
52    
53  cc_flags_debug  = cc_common_flags + '/Od /RTC1 /MTd /ZI'  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.1388  
changed lines
  Added in v.1810

  ViewVC Help
Powered by ViewVC 1.1.26