-
Notifications
You must be signed in to change notification settings - Fork 0
/
SConscript
23 lines (19 loc) · 966 Bytes
/
SConscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- python -*-
# $Id: SConscript,v 1.37 2011/05/16 21:01:12 hirayama Exp $
# Authors: James Peachey <[email protected]>, Joe Asercion <[email protected]>
# Version: timeSystem-06-05-01
Import('baseEnv')
Import('listFiles')
progEnv = baseEnv.Clone()
libEnv = baseEnv.Clone()
timeSystemLib = libEnv.StaticLibrary('timeSystem', listFiles(['src/*.cxx', 'src/*.c']))
progEnv.Tool('timeSystemLib')
gtbaryBin = progEnv.Program('gtbary', listFiles(['src/gtbary/*.cxx']))
test_timeSystemBin = progEnv.Program('test_timeSystem', listFiles(['src/test/*.cxx']))
progEnv.Tool('registerTargets', package = 'timeSystem',
staticLibraryCxts = [[timeSystemLib, libEnv]],
includes = listFiles(['timeSystem/*.h']),
binaryCxts = [[gtbaryBin, progEnv]],
testAppCxts = [[test_timeSystemBin, progEnv]],
pfiles = listFiles(['pfiles/*.par']),
data = listFiles(['data/*'], recursive = True))