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 |
# locations of include files for python |
11 |
python_path = 'C:/python23/include' |
python_root = 'C:/python23' |
12 |
python_lib_path = 'C:/python23/libs' |
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' |
python_lib = 'python23' |
16 |
|
|
17 |
# locations of libraries for boost |
# locations of libraries for boost |
18 |
boost_path = '../boost' |
boost_path = os.path.realpath('../boost') |
19 |
boost_libs_path = '../boost/windows_binary/lib' |
boost_lib_path = os.path.realpath('../boost/windows_binary/lib') |
20 |
boost_libs = 'boost_python-vc71-mt-s-1_31' |
boost_lib = 'boost_python-vc71-mt-s-1_31' |
21 |
|
|
22 |
# locations of netcdf |
# locations of netcdf |
23 |
useNetCDF = "no" |
useNetCDF = "no" |
24 |
netCDF_path = "..//netcdf/src/include" |
netCDF_path = os.path.realpath("../netcdf/src/include") |
25 |
netCDF_lib_path = "../netcdf/src/win32/NET/release" |
netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release") |
26 |
netCDF_libs_cxx = [ 'netcdf', 'netcdf_cpp' ] |
netCDF_libs_cxx = [ 'netcdf', 'netcdf_cpp' ] |
27 |
|
|
28 |
cc_defines = ['_USE_MATH_DEFINES', 'BOOST_NO_INTRINSIC_WCHAR_T', 'DLL_NETCDF' ] |
cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF' ] |
29 |
# c flags to use |
# c flags to use |
30 |
# 1563 - taking adress of a temporary |
# 1563 - taking adress of a temporary |
31 |
# 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 |