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

Contents of /trunk/scons/windows_mscv71_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1232 - (show annotations)
Fri Aug 10 06:44:04 2007 UTC (12 years, 3 months ago) by phornby
File MIME type: text/x-python
File size: 1167 byte(s)
Reduce the number of IS_WINDOWS_PLATFORM references in SConstruct.
Change path to boost etc in windows_mscv71_options.py 
Some of these changes are present in windows_mscv71_options.py, more changes needed once I get the mscv71 build going properly.
1 import os
2
3 # locations of include files for python
4 python_path = 'C:/python23/include'
5 python_lib_path = 'C:/python23/libs'
6 python_lib = 'python23'
7
8 # locations of libraries for boost
9 boost_path = os.path.realpath('../boost')
10 boost_libs_path = os.path.realpath('../boost/windows_binary/lib')
11 boost_libs = 'boost_python-vc71-mt-s-1_31'
12
13 # locations of netcdf
14 useNetCDF = "no"
15 netCDF_path = os.path.realpath("..//netcdf/src/include")
16 netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release")
17 netCDF_libs_cxx = [ 'netcdf', 'netcdf_cpp' ]
18
19 cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF' ]
20 # c flags to use
21 # 1563 - taking adress of a temporary
22 # 811 - exception specification for implicitly declared virtual function (destructor usually) incompatible with that of override
23 # 161 - openmp pargmas are unknown when not compiling with openmp
24 cc_common_flags = '/FD /EHsc /GR /wd4068 '
25 cc_flags = cc_common_flags + '/O2 /Op /MT /W3'
26
27 cc_flags_debug = cc_common_flags + '/Od /RTC1 /MTd /ZI'
28
29 # c++ flags to use
30 cxx_flags = ''
31 cxx_flags_debug = ''
32 # static library archiver flags to use
33 #ar_flags = 'crus'
34
35 # system specific libraries to link with
36 sys_libs = []

  ViewVC Help
Powered by ViewVC 1.1.26