Is it possible to generate a .h macros file from bjam?
Posted
by Gnurou
on Stack Overflow
See other posts from Stack Overflow
or by Gnurou
Published on 2010-02-04T07:18:14Z
Indexed on
2010/04/30
15:07 UTC
Read the original article
Hit count: 265
I need to dynamically generate some macros into a .h configuration file that C programs can include in order to check which options are enabled, in a fashion similar to what is possible with CMake's CONFIGURE_FILE macro. But after looking in the doc and the web, I could not find something useful. Is it possible to generate such a file from bjam and have the dependencies handled correctly? If so, how would you do it?
© Stack Overflow or respective owner