-
Notifications
You must be signed in to change notification settings - Fork 0
/
SConscript
21 lines (17 loc) · 971 Bytes
/
SConscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- python -*-
# $Id: SConscript,v 1.34 2017/03/29 18:26:16 heather Exp $
# Authors: James Peachey <[email protected]>, Joe Asercion <[email protected]>
# Version: evtbin-03-00-01
Import('baseEnv')
Import('listFiles')
progEnv = baseEnv.Clone()
libEnv = baseEnv.Clone()
evtbinLib = libEnv.StaticLibrary('evtbin', listFiles(['src/*.cxx']))
progEnv.Tool('evtbinLib')
gtbinBin = progEnv.Program('gtbin', listFiles(['src/gtbin/*.cxx']))
gtbindefBin = progEnv.Program('gtbindef', listFiles(['src/gtbindef/*.cxx']))
test_evtbinBin = progEnv.Program('test_evtbin', listFiles(['src/test/*.cxx']))
progEnv.Tool('registerTargets', package = 'evtbin', staticLibraryCxts = [[evtbinLib, libEnv]],
binaryCxts = [[gtbinBin, progEnv], [gtbindefBin, progEnv]],
testAppCxts = [[test_evtbinBin, progEnv]], includes = listFiles(['evtbin/*.h']),
pfiles = listFiles(['pfiles/*.par']), data = listFiles(['data/*'], recursive = True))