/[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

temp_trunk_copy/scons/windows_intelc_options.py revision 1384 by phornby, Fri Jan 11 02:29:38 2008 UTC trunk/scons/windows_intelc_options.py revision 1628 by phornby, Fri Jul 11 13:12:46 2008 UTC
# Line 14  Line 14 
14  #######################################################  #######################################################
15  #  #
16    
17  import os  import sys, os
18    
19  source_root = os.path.realpath('.')  source_root = os.path.realpath('.')
20    
# Line 23  incinstall = os.path.join(source_root,'i Line 23  incinstall = os.path.join(source_root,'i
23  libinstall = os.path.join(source_root,'lib')  libinstall = os.path.join(source_root,'lib')
24  exinstall = os.path.join(source_root,'examples')  exinstall = os.path.join(source_root,'examples')
25    
26  # locations of include files for python  # locations of files for python
27  python_root = 'C:/python23'  py_vers = '%s%s'%(sys.version_info[0],sys.version_info[1])
28    python_root = 'C:/python' + py_vers
29  python_cmd = os.path.join(python_root,'python')  python_cmd = os.path.join(python_root,'python')
30  python_path =  os.path.join(python_root,'include')  python_path =  os.path.join(python_root,'include')
31  python_lib_path = os.path.join(python_root,'libs')  python_lib_path = os.path.join(python_root,'libs')
32  python_lib = 'python23'  python_lib = 'python' + py_vers
33    
34  # locations of libraries for boost  # locations of libraries for boost
35  boost_path = os.path.realpath('../boost')  dotdot = os.path.realpath('..')
36  boost_lib_path = os.path.realpath('../boost/windows_binary/lib')  boost_path = os.path.join(dotdot,'boost-1.33')
37  boost_lib = 'boost_python-vc71-mt-s-1_31'  boost_lib_path = os.path.join(boost_path,'windows_binary','lib')
38    boost_lib = 'boost_python-vc71-mt-1_33_1.lib'
39    
40  # locations of netcdf  # locations of netcdf
41  useNetCDF = "yes"  useNetCDF = "no"
42  netCDF_path = os.path.realpath("../netcdf/src/include")  netCDF_path = os.path.realpath(".")
43  netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release")  netCDF_lib_path = os.path.realpath(".")
44  netCDF_libs = [ 'netcdf', 'netcdf_cpp' ]  netCDF_libs = [ ]
45    
46  cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF' ]  cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF', 'BOOST_NO_INTRINSIC_WCHAR_T' ]
47  # c flags to use  # c flags to use
48  # 1563 - taking adress of a temporary  # 1563 - taking adress of a temporary
49  # 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
50  # 161 - openmp pargmas are unknown when not compiling with openmp  # 161 - openmp pargmas are unknown when not compiling with openmp
51  cc_common_flags = '/FD /EHsc /GR /wd4068 '  cc_common_flags = '/FD /EHsc /GR /Qvc7.1 '
52  cc_flags  = cc_common_flags + '/O2 /Op /MT /W3'  cc_flags  = cc_common_flags + '/O2 /Op /MD /W3'
53    
54  cc_flags_debug  = cc_common_flags + '/Od /RTC1 /MTd /ZI'  cc_flags_debug  = cc_common_flags + '/Od /RTC1 /MDd /ZI'
55    
56  # c++ flags to use  # c++ flags to use
57  cxx_flags = ''  cxx_flags = ''
58  cxx_flags_debug = ''  cxx_flags_debug = ''
59    
60    # linker flags to use
61    #link_flags = ''
62    link_flags_debug = '/debug /incremental:no /opt:ref /opt:icf'
63    
64  # static library archiver flags to use  # static library archiver flags to use
65  #ar_flags = 'crus'  #ar_flags = 'crus'
66    
67  # system specific libraries to link with  # system specific libraries to link with
68  sys_libs = []  sys_libs = ["C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib/Ws2_32"]

Legend:
Removed from v.1384  
changed lines
  Added in v.1628

  ViewVC Help
Powered by ViewVC 1.1.26