[omniORB] Generation of include directives from idl

Stefan Seefeld seefelds@MAGELLAN.UMontreal.CA
Mon, 13 Mar 2000 11:29:55 -0500


Hi,

I second this (implicit) request for better support for
include prefixes. Isee two useful features:

* recognize includes of the form <prefix>/<idl> and
  reuse the <prefix> when generating the header(s).

* allow via command line option to add a prefix so that

omniidl --prefix="prefix" foo.idl

produces from foo.idl which looks like

--------------------

#include <bar.idl>

//...
--------------------

the file foo.hh

--------------------

#include <prefix/bar.hh>

//...
--------------------

I admit that this is pure convenience, i.e. one can
get the same by changing the Makefile rules. However, the
efford to add such a flag/feature to omniidl is much less
than adding all the 'move','cd' etc. commands to each Makefile.

I may write such a patch and mail it here if it will be considered
for inclusion...

Regards,	Stefan

_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: seefelds@magellan.umontreal.ca

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...