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

Annotation of /trunk/scons/windows_mscv71_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1388 - (hide annotations)
Fri Jan 11 07:45:58 2008 UTC (11 years, 6 months ago) by trankine
File MIME type: text/x-python
File size: 1920 byte(s)
And get the *(&(*&(* name right
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 1232 import os
18    
19 phornby 1241 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 1017 # locations of include files for python
27 phornby 1241 python_root = 'C:/python23'
28     python_cmd = os.path.join(python_root,'python')
29     python_path = os.path.join(python_root,'include')
30     python_lib_path = os.path.join(python_root,'libs')
31 phornby 1017 python_lib = 'python23'
32    
33     # locations of libraries for boost
34 phornby 1232 boost_path = os.path.realpath('../boost')
35 phornby 1241 boost_lib_path = os.path.realpath('../boost/windows_binary/lib')
36     boost_lib = 'boost_python-vc71-mt-s-1_31'
37 phornby 1017
38     # locations of netcdf
39 phornby 1245 useNetCDF = "yes"
40 phornby 1241 netCDF_path = os.path.realpath("../netcdf/src/include")
41 phornby 1232 netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release")
42 phornby 1245 netCDF_libs = [ 'netcdf', 'netcdf_cpp' ]
43 phornby 1017
44 phornby 1232 cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF' ]
45 phornby 1017 # c flags to use
46     # 1563 - taking adress of a temporary
47     # 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
49 phornby 1132 cc_common_flags = '/FD /EHsc /GR /wd4068 '
50     cc_flags = cc_common_flags + '/O2 /Op /MT /W3'
51 phornby 1017
52 phornby 1132 cc_flags_debug = cc_common_flags + '/Od /RTC1 /MTd /ZI'
53 phornby 1017
54     # c++ flags to use
55     cxx_flags = ''
56     cxx_flags_debug = ''
57     # static library archiver flags to use
58     #ar_flags = 'crus'
59    
60     # system specific libraries to link with
61     sys_libs = []

  ViewVC Help
Powered by ViewVC 1.1.26