How to write rule for ICU genrb and pkgdata for boost-build?
- by sandy
jamroot.jam
rule genrb ( sources + : requirements * ) # create *.res files in binary directory
{
local result ;
for local r in $(sources)
{
res $(r:B) : $(r) ;
}
}
res.jam
type.register RES : res ;
type.register TXT : txt ;
generators.register-standard res.resource : TXT : RES ;
actions resource
{
$(icu_home)\bin64\genrb "-d$(<:D)" "$()"
}
I need to run pkgdata with parameters:
pkgdata [-options] [-] [packageFile]
packageFile is a text file containing the list of res-files to package.