From: David Abrahams (dave_at_[hidden])
Date: 2004-12-24 22:10:17


Alexey Syomichev wrote:
> Hi,
> I need to preprocess some header files with a perl script. Say, I have
> "a.cpp" that includes "a.hpp", which needs to be created first from
> "a.h". I need to 1) run the perl script taking a.h and creating a.hpp
> and then to 2) compile a.cpp as part of the library. Also I need to keep
> track of the dependency between a.h and a.cpp.

Meaning that you might later hand-edit a.h?

> It looks like I canot register a new generator, because the suffix ".h"
> is already assigned to a type "H".

How does that prevent you from registering a new generator?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com