Boost logo

Boost-Build :

From: cloudwu2005 (cloudwu2005_at_[hidden])
Date: 2005-07-04 16:11:46


Hi,

I wrote a convert tool, it can convert .dll file to .dog (my own file
type).

"convert.exe a.dll" can convert file "a.dll" to file "a.dog".
I want to write a rule "dog" for bjam to support my file type.

like this:
------------------------
lib test : a.cpp b.cpp ;
dog test.dog : test.dll ; -- call convert.exe
-------------------------

or it can make it directly,

--------------------------
dog test : a.cpp b.cpp ; -- compile&link a.cpp b.cpp , and then call
convert.exe to convert test.dll to test.dog
---------------------------

I have read the bjam's document and source code whole night, but
didn't have any idea yet :(

anyone know how?

Thanks.

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk