Boost logo

Boost-Build :

From: DrAnony (antamiga_at_[hidden])
Date: 2008-01-31 02:06:38

I have an executable which produces cpp files, but it can produce more than
one for a single input file. I tried to modify the verbatim
example and can't quite get the result I need.

The process is this -

- run myConverter on file1.icd
- This produces two cpp and h files, which don't have the same name as the
input file
- Take all the cpp files and compile them into a library

This is my current setup -

import type ;
import generators ;

type.register ICD : icd ;

generators.register-standard icd.inline-file : ICD : CPP ;

actions inline-file
    ..\exes\myConverter $(>) dict

import icd ;

project icdDicts : usage-requirements <include>. ;

lib icdLib : [ glob *.icd ]
         : <link>static <include>../includes ;

On the first pass, bjam will run the converter on all the icd files. I
can't figure out how to add another entry or change things so that it simply
runs the converter and then does a glob *.cpp.


View this message in context:
Sent from the Boost - Build mailing list archive at

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