-
Notifications
You must be signed in to change notification settings - Fork 0
/
SConscript
28 lines (23 loc) · 1.08 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
25
26
27
28
# -*- python -*-
#
# $Id: SConscript,v 1.46 2015/03/06 19:22:53 jchiang Exp $
# Authors: James Chiang <[email protected]>
# Version: observationSim-10-01-02
Import('baseEnv')
Import('listFiles')
progEnv = baseEnv.Clone()
libEnv = baseEnv.Clone()
observationSimLib = libEnv.StaticLibrary('observationSim',
listFiles(['src/*.cxx']))
progEnv.Tool('observationSimLib')
test_observationSimBin = progEnv.Program('test_observationSim',
listFiles(['src/test/*.cxx']))
gtobssimBin = progEnv.Program('gtobssim', listFiles(['src/obsSim/*.cxx']))
progEnv.Tool('registerTargets', package = 'observationSim',
staticLibraryCxts = [[observationSimLib,libEnv]],
binaryCxts = [[gtobssimBin,progEnv]],
testAppCxts = [[test_observationSimBin,progEnv]],
includes = listFiles(['observationSim/*.h']),
pfiles = listFiles(['pfiles/*.par']),
data = listFiles(['data/*'], recursive = True),
xml = listFiles(['xml/*'], recursive = True))