/[escript]/branches/diaplayground/scons/windows_intelc_options.py
ViewVC logotype

Annotation of /branches/diaplayground/scons/windows_intelc_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1633 - (hide annotations)
Sat Jul 12 07:45:17 2008 UTC (11 years, 4 months ago) by trankine
Original Path: trunk/scons/windows_intelc_options.py
File MIME type: text/x-python
File size: 2268 byte(s)
Turn on netcdf in windows build. No new errors generated.... remarkable.

The correctly configured netCDF source and windows build config.
that matches enthought python25/vtk/PmdPyRT for windows, can be
obtained from

https://cgsrv1.arrc.csiro.au/subversion/swframeutils/thirdParty/netcdf/trunk

username & password needed. If you have access to our twiki, no new username is required,
but authorisation to read the repository will be required.

1 ksteube 1312 #
2     # $Id$
3     #
4     #######################################################
5     #
6     # Copyright 2003-2007 by ACceSS MNRF
7     # Copyright 2007 by University of Queensland
8     #
9     # http://esscc.uq.edu.au
10     # Primary Business: Queensland, Australia
11     # Licensed under the Open Software License version 3.0
12     # http://www.opensource.org/licenses/osl-3.0.php
13     #
14     #######################################################
15     #
16    
17 phornby 1628 import sys, os
18 phornby 1242
19     source_root = os.path.realpath('.')
20    
21     pyinstall = os.path.join(source_root,'esys')
22     incinstall = os.path.join(source_root,'include')
23     libinstall = os.path.join(source_root,'lib')
24     exinstall = os.path.join(source_root,'examples')
25    
26 phornby 1628 # locations of files for python
27     py_vers = '%s%s'%(sys.version_info[0],sys.version_info[1])
28     python_root = 'C:/python' + py_vers
29 phornby 1242 python_cmd = os.path.join(python_root,'python')
30     python_path = os.path.join(python_root,'include')
31     python_lib_path = os.path.join(python_root,'libs')
32 phornby 1628 python_lib = 'python' + py_vers
33 phornby 869
34     # locations of libraries for boost
35 trankine 1427 dotdot = os.path.realpath('..')
36     boost_path = os.path.join(dotdot,'boost-1.33')
37     boost_lib_path = os.path.join(boost_path,'windows_binary','lib')
38 phornby 1628 boost_lib = 'boost_python-vc71-mt-1_33_1.lib'
39 phornby 869
40 phornby 1019 # locations of netcdf
41 trankine 1633 useNetCDF = "yes"
42     netCDF_root = os.path.join(dotdot,"netcdf")
43     netCDF_path = os.path.join(netCDF_root,"src","include")
44     netCDF_lib_path = os.path.join(netCDF_root,'lib')
45     netCDF_libs = ["netcdf", "netcdf_cpp" ]
46 phornby 1019
47 trankine 1427 cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF', 'BOOST_NO_INTRINSIC_WCHAR_T' ]
48 phornby 869 # c flags to use
49     # 1563 - taking adress of a temporary
50     # 811 - exception specification for implicitly declared virtual function (destructor usually) incompatible with that of override
51     # 161 - openmp pargmas are unknown when not compiling with openmp
52 trankine 1427 cc_common_flags = '/FD /EHsc /GR /Qvc7.1 '
53 phornby 1628 cc_flags = cc_common_flags + '/O2 /Op /MD /W3'
54 phornby 869
55 phornby 1628 cc_flags_debug = cc_common_flags + '/Od /RTC1 /MDd /ZI'
56 phornby 869
57     # c++ flags to use
58     cxx_flags = ''
59     cxx_flags_debug = ''
60 phornby 1628
61     # linker flags to use
62     #link_flags = ''
63     link_flags_debug = '/debug /incremental:no /opt:ref /opt:icf'
64    
65 phornby 869 # static library archiver flags to use
66     #ar_flags = 'crus'
67    
68     # system specific libraries to link with
69 phornby 1628 sys_libs = ["C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib/Ws2_32"]

  ViewVC Help
Powered by ViewVC 1.1.26