Boost logo

Boost-Build :

Subject: [Boost-build] generate a tool to generated a version.c file from definition file
From: Meindert Oldenburger (meindert66_at_[hidden])
Date: 2011-08-18 04:27:10

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

install $(BUILDTOOLS)

switch $(CURBU)
        case busp : file version.busp.def : version.def ;
        case bupi : file version.bupi.def : version.def ;


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at