-
Notifications
You must be signed in to change notification settings - Fork 0
/
SConscript
24 lines (20 loc) · 1.16 KB
/
SConscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- python -*-
# $Id: SConscript,v 1.18 2010/08/02 20:14:20 glastrm Exp $
# Authors: James Peachey <[email protected]>, Jim Chiang <[email protected]>, Joe Ascersion <[email protected]>
# Version: hoops-01-01-08
Import('baseEnv')
Import('listFiles')
progEnv = baseEnv.Clone()
libEnv = baseEnv.Clone()
hoopsLib = libEnv.StaticLibrary('hoops', listFiles(['src/*.cxx']))
progEnv.Tool('hoopsLib')
test_sourceBin = progEnv.Program('test_source', 'src/test/hoops_lim_test.cxx')
test_hoops = progEnv.Program('test_hoops', 'src/test/hoops_lim_test.cxx')
#progEnv.Tool('registerObjects', package = 'hoops', libraries = [hoopsLib], testApps = [test_sourceBin, test_hoops], includes = listFiles(['hoops/*.h']),
# pfiles = listFiles(['pfiles/*.par']), data = listFiles(['data/*'], recursive = True))
progEnv.Tool('registerTargets', package = 'hoops',
staticLibraryCxts = [[hoopsLib, libEnv]],
testAppCxts = [[test_sourceBin, progEnv], [test_hoops, progEnv]],
includes = listFiles(['hoops/*.h']),
pfiles = listFiles(['pfiles/*.par']),
data = listFiles(['data/*'], recursive = True))