List Info

Thread: Troubles with custom generator




Troubles with custom generator
country flaguser name
United States
2007-04-11 14:27:04
Hello,

I'm trying to get a simple custom conversion to work in
Boost Build. I want 
to convert files of type .pkgsnd to files of type .uax. I
have this:

import generators ;
import type ;

type.register UAX : uax ;
type.register PKGSND : pkgsnd ;
generators.register-standard pkgsnd.ucc-pkg-import-sound :
PKGSND : UAX ;

rule
init ( )
 {
 }

rule
ucc-pkg-import-sound (  )
 {
 }

actions
ucc-pkg-import-sound
 {
    ucc pkg import sound $(<) $(>)
 }

I also have project-root.jam which contains the appropriate
"using" call, 
and a Jamfile like this:

uax test : build-uax.pkgsnd ;

I get this error:

C:/vcengine/bld/boost-build/kernelmodules.jam:66: in
modules.call-in
rule pkgsnd.ucc-pkg-import-sound unknown in module pkgsnd.

What am I doing wrong?

Thanks,
Emil Dotchevski 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )