/[escript]/trunk/pycad/py_src/SConscript
ViewVC logotype

Contents of /trunk/pycad/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (show annotations)
Mon Nov 15 05:09:56 2010 UTC (8 years, 10 months ago) by caltinay
File size: 811 byte(s)
escript now supports out-of-tree builds.
All build and test files are now created under a user-definable build_dir
directory.
This also fixes issue 291.
Removed most svn:ignore props since they are no longer required.

1
2 ########################################################
3 #
4 # Copyright (c) 2003-2010 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # 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 #
12 ########################################################
13
14 Import('*')
15 local_env = env.Clone()
16
17 # get the test source file names
18 sources = Glob('*.py')
19
20 # compile
21 pyc = local_env.PyCompile(sources)
22
23 # install
24 py_inst = local_env.Install(local_env['pyinstall']+'/pycad', pyc)
25 env.Alias('install_pycad_py', py_inst)
26
27 # configure python unit tests
28 local_env.SConscript(dirs = ['#/pycad/test/python'], variant_dir='$BUILD_DIR/$PLATFORM/pycad/test/python', duplicate=0)
29

  ViewVC Help
Powered by ViewVC 1.1.26