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

Contents of /trunk/scons/windows_intelc_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1245 - (show annotations)
Mon Aug 13 14:27:20 2007 UTC (12 years, 3 months ago) by phornby
File MIME type: text/x-python
File size: 1492 byte(s)
Add in the netcdf libraries.
1 import os
2
3 source_root = os.path.realpath('.')
4
5 pyinstall = os.path.join(source_root,'esys')
6 incinstall = os.path.join(source_root,'include')
7 libinstall = os.path.join(source_root,'lib')
8 exinstall = os.path.join(source_root,'examples')
9
10 # locations of include files for python
11 python_root = 'C:/python23'
12 python_cmd = os.path.join(python_root,'python')
13 python_path = os.path.join(python_root,'include')
14 python_lib_path = os.path.join(python_root,'libs')
15 python_lib = 'python23'
16
17 # locations of libraries for boost
18 boost_path = os.path.realpath('../boost')
19 boost_lib_path = os.path.realpath('../boost/windows_binary/lib')
20 boost_lib = 'boost_python-vc71-mt-s-1_31'
21
22 # locations of netcdf
23 useNetCDF = "yes"
24 netCDF_path = os.path.realpath("../netcdf/src/include")
25 netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release")
26 netCDF_libs = [ 'netcdf', 'netcdf_cpp' ]
27
28 cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF' ]
29 # c flags to use
30 # 1563 - taking adress of a temporary
31 # 811 - exception specification for implicitly declared virtual function (destructor usually) incompatible with that of override
32 # 161 - openmp pargmas are unknown when not compiling with openmp
33 cc_common_flags = '/FD /EHsc /GR /wd4068 '
34 cc_flags = cc_common_flags + '/O2 /Op /MT /W3'
35
36 cc_flags_debug = cc_common_flags + '/Od /RTC1 /MTd /ZI'
37
38 # c++ flags to use
39 cxx_flags = ''
40 cxx_flags_debug = ''
41 # static library archiver flags to use
42 #ar_flags = 'crus'
43
44 # system specific libraries to link with
45 sys_libs = []

  ViewVC Help
Powered by ViewVC 1.1.26