1 |
phornby |
1232 |
import os |
2 |
|
|
|
3 |
phornby |
1017 |
# 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 |
phornby |
1232 |
boost_path = os.path.realpath('../boost') |
10 |
|
|
boost_libs_path = os.path.realpath('../boost/windows_binary/lib') |
11 |
ksteube |
1139 |
boost_libs = 'boost_python-vc71-mt-s-1_31' |
12 |
phornby |
1017 |
|
13 |
|
|
# locations of netcdf |
14 |
phornby |
1232 |
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 |
phornby |
1017 |
|
19 |
phornby |
1232 |
cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF' ] |
20 |
phornby |
1017 |
# 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 |
phornby |
1132 |
cc_common_flags = '/FD /EHsc /GR /wd4068 ' |
25 |
|
|
cc_flags = cc_common_flags + '/O2 /Op /MT /W3' |
26 |
phornby |
1017 |
|
27 |
phornby |
1132 |
cc_flags_debug = cc_common_flags + '/Od /RTC1 /MTd /ZI' |
28 |
phornby |
1017 |
|
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 = [] |