22 lines
609 B
Text
22 lines
609 B
Text
|
##
|
||
|
import glob
|
||
|
|
||
|
Import('env')
|
||
|
|
||
|
prefix = env['PREFIX']
|
||
|
boost_root = env['BOOST_ROOT']
|
||
|
|
||
|
# boost filesystem
|
||
|
filesystem_src_dir = boost_root + '/libs/filesystem/src/'
|
||
|
boost_fs_src= glob.glob(filesystem_src_dir + '*.cpp')
|
||
|
lib_boost_filesystem = env.SharedLibrary('libboost-filesystem',boost_fs_src,CPPPATH=boost_root)
|
||
|
env.Install(prefix+'/lib',lib_boost_filesystem)
|
||
|
#boost regex
|
||
|
regex_src_dir = boost_root + '/libs/regex/src/'
|
||
|
boost_regex_src = glob.glob(regex_src_dir+ '*.cpp')
|
||
|
lib_boost_regex = env.SharedLibrary('libboost-regex',boost_regex_src,CPPPATH=boost_root)
|
||
|
|
||
|
env.Install(prefix+'/lib',lib_boost_regex)
|
||
|
|
||
|
|