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

Annotation of /trunk/scons/windows_intelc_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1810 - (hide annotations)
Thu Sep 25 06:53:26 2008 UTC (11 years, 1 month ago) by ksteube
File MIME type: text/x-python
File size: 2245 byte(s)
Updated copyright for a few remaining python files

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