Boost logo

Boost-Build :

Subject: Re: [Boost-build] generators for creating HPP files?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-26 08:37:57


Oliver Kowalke wrote:
> How can I use generators inside Jamfile to provide specifi HPP files
> depending upon conditions evaluated inside the Jamfile?
> boost/my_lib/a.tmpl
> boost/my_lib/b.tmpl
> should be copied to boost/my_lib/c.hpp depending on <toolset>gcc.

This is a bad idea for a boost library. People like me
try to compile with both msvc and gcc using the same
headers. You can do it with Boost.Build, but it would
be better to use

#ifdef __GNUC__
#include <boost/my_lib/a.tmpl>
#include <boost/my_lib/b.tmpl>

In Christ,
Steven Watanabe

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