summaryrefslogtreecommitdiffstats
path: root/examples/src_packaging/SConstruct
blob: 1e662af10e9ec7926b145d16c64fe53b5a16c0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
from glob import glob

src_files = glob( 'src/*.c' )
include_files = glob( 'src/*.h' )

SharedLibrary( 'foobar', src_files )

Package( projectname = 'libfoobar',
         version     = '1.2.3',
         type        = [ 'src_zip', 'src_targz', 'src_tarbz2' ],
         source      = FindSourceFiles() )