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 include files for python |
27 |
python_root = 'C:/python23' |
python_root = 'C:/python25' |
28 |
python_cmd = os.path.join(python_root,'python') |
python_cmd = os.path.join(python_root,'python') |
29 |
python_path = os.path.join(python_root,'include') |
python_path = os.path.join(python_root,'include') |
30 |
python_lib_path = os.path.join(python_root,'libs') |
python_lib_path = os.path.join(python_root,'libs') |
31 |
python_lib = 'python23' |
python_lib = 'python25' |
32 |
|
|
33 |
# locations of libraries for boost |
# locations of libraries for boost |
34 |
boost_path = os.path.realpath('../boost') |
boost_path = os.path.realpath('../boost-1.33') |
35 |
boost_lib_path = os.path.realpath('../boost/windows_binary/lib') |
boost_lib_path = os.path.realpath('../boost-1.33/windows_binary/lib') |
36 |
boost_lib = 'boost_python-vc71-mt-s-1_31' |
boost_lib = 'boost_python-vc71-mt-s-1_33_1.lib' |
37 |
|
|
38 |
# locations of netcdf |
# locations of netcdf |
39 |
#useNetCDF = "yes" |
useNetCDF = "no" |
40 |
#netCDF_path = os.path.realpath("../netcdf/src/include") |
netCDF_path = os.path.realpath(".") |
41 |
#netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release") |
netCDF_lib_path = os.path.realpath(".") |
42 |
#netCDF_libs = [ 'netcdf', 'netcdf_cpp' ] |
netCDF_libs = [ ] |
43 |
|
|
44 |
cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF', 'BOOST_NO_INTRINSIC_WCHAR_T' ] |
cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF', 'BOOST_NO_INTRINSIC_WCHAR_T' ] |
45 |
# c flags to use |
# c flags to use |
46 |
# 1563 - taking adress of a temporary |
# 1563 - taking adress of a temporary |
47 |
# 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 |
48 |
# 161 - openmp pargmas are unknown when not compiling with openmp |
# 161 - openmp pargmas are unknown when not compiling with openmp |
49 |
cc_common_flags = '/FD /EHsc /GR /wd4068 /wd161 /Qvc7.1 ' |
cc_common_flags = '/FD /EHsc /GR /Qvc7.1 ' |
50 |
cc_flags = cc_common_flags + '/O2 /Op /MT /W3' |
cc_flags = cc_common_flags + '/O2 /Op /MT /W3' |
51 |
|
|
52 |
cc_flags_debug = cc_common_flags + '/Od /RTC1 /MTd /ZI' |
cc_flags_debug = cc_common_flags + '/Od /RTC1 /MTd /ZI' |