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

Annotation of /trunk/scons/windows_intelc_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1245 - (hide 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 phornby 1242 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 phornby 869 # locations of include files for python
11 phornby 1242 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 phornby 869 python_lib = 'python23'
16    
17     # locations of libraries for boost
18 phornby 1242 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 phornby 869
22 phornby 1019 # locations of netcdf
23 phornby 1245 useNetCDF = "yes"
24 phornby 1242 netCDF_path = os.path.realpath("../netcdf/src/include")
25     netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release")
26 phornby 1245 netCDF_libs = [ 'netcdf', 'netcdf_cpp' ]
27 phornby 1019
28 phornby 1242 cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF' ]
29 phornby 869 # 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 phornby 1232 cc_common_flags = '/FD /EHsc /GR /wd4068 '
34     cc_flags = cc_common_flags + '/O2 /Op /MT /W3'
35 phornby 869
36 phornby 1232 cc_flags_debug = cc_common_flags + '/Od /RTC1 /MTd /ZI'
37 phornby 869
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