-
Notifications
You must be signed in to change notification settings - Fork 0
/
SConscript
31 lines (25 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
25
26
27
28
29
30
# -*- python -*-
# @file SConscript
# @brief build info for package healpix
#
# $Header: /nfs/slac/g/glast/ground/cvs/healpix/SConscript,v 1.35 2017/03/29 18:42:50 heather Exp $
# Authors: T. Burnett <[email protected]>, E. Charles <[email protected]>
# Version: healpix-02-05-03
Import('baseEnv')
Import('listFiles')
progEnv = baseEnv.Clone()
libEnv = baseEnv.Clone()
libEnv.Tool('addLinkDeps', package='healpix', toBuild='shared')
# EAC: switch to using healpix as an external, so remove healpix/base stuff
healpixLib = libEnv.SharedLibrary('healpix',
listFiles(['src/*.cxx']))
# EAC: add dependence on healpix externals
progEnv.Tool('healpixLib')
test_healpix = progEnv.Program('test_healpix', listFiles(['src/test/*.cxx']))
# EAC: switch to using healpix as an external, so remove healpix/base stuff
progEnv.Tool('registerTargets',
package = 'healpix',
includes = listFiles(['healpix/*.h']),
libraryCxts = [[healpixLib, libEnv]],
testAppCxts = [[test_healpix, progEnv]]
)