-
Notifications
You must be signed in to change notification settings - Fork 0
/
SConscript
24 lines (20 loc) · 1.04 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.33 2011/05/16 21:01:41 hirayama Exp $
# Authors: James Peachey <[email protected]>, Joe Asercion <[email protected]>
# Version: pulsePhase-09-00-04
Import('baseEnv')
Import('listFiles')
progEnv = baseEnv.Clone()
libEnv = baseEnv.Clone()
pulsePhaseLib = libEnv.StaticLibrary('pulsePhase', listFiles(['src/*.cxx']))
progEnv.Tool('pulsePhaseLib')
gtophaseBin = progEnv.Program('gtophase', listFiles(['src/gtophase/*.cxx']))
gtpphaseBin = progEnv.Program('gtpphase', listFiles(['src/gtpphase/*.cxx']))
test_pulsePhaseBin = progEnv.Program('test_pulsePhase', listFiles(['src/test/*.cxx']))
progEnv.Tool('registerTargets', package = 'pulsePhase',
staticLibraryCxts = [[pulsePhaseLib, progEnv]],
binaryCxts = [[gtophaseBin,progEnv], [gtpphaseBin, progEnv]],
testAppCxts = [[test_pulsePhaseBin, progEnv]],
includes = listFiles(['pulsePhase/*.h']),
pfiles = listFiles(['pfiles/*.par']),
data = listFiles(['data/*'], recursive = True))