Hello ,
The following challenge i have:
- I need to compile a tool called genversion from genversion.c
- I have to rename a file version.busp.def to version.def
- Now i have to execute "genversion" with version.def. version.def needs to be in the same directory as genversion.
- The generated version.c file is used by other projects.
The following start i made, but the file rule "file" does not exist in bjam. Does someone have an idea?
exe genversion
:
genversion.c
;
install $(BUILDTOOLS)
:
genversion
;
switch $(CURBU)
{
case busp : file version.busp.def : version.def ;
case bupi : file version.bupi.def : version.def ;
}
Regards,
Meindert