blob: f44a4710c11ec8f172cb81be828ecbb763f3b303 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
from glob import glob
src_files = glob( 'src/*.c' )
include_files = glob( 'src/*.h' )
SharedLibrary( 'foobar', src_files )
env = Environment(tools=['default', 'packaging'])
env.Package( NAME = 'libfoobar',
VERSION = '1.2.3',
PACKAGETYPE = 'targz',
source = src_files + include_files )
env.Package( NAME = 'libfoobar',
VERSION = '1.2.3',
PACKAGETYPE = 'zip',
source = src_files + include_files )
|