blob: 51e83be77378dc8fb243d6d63a2a750a68a35975 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
def build(bld):
if bld.env.STATIC:
obj = bld(features='cxx cxxstlib')
else:
obj = bld(features='cxx cxxshlib')
obj.name = 'libcxml'
obj.target = 'cxml'
obj.export_includes = ['.']
obj.uselib = 'LIBXML++ BOOST_FILESYSTEM'
obj.source = "cxml.cc"
bld.install_files('${PREFIX}/include/libcxml', "cxml.h")
if bld.env.STATIC:
bld.install_files('${PREFIX}/lib', 'libcxml.a')
|