Hi Mike,
Unfortunately this functionality never got into 0.29 - there is no
mechanism in ORBit to pass arguments to compiler backend libraries
which made implementing this non-trivial.
In the short term you can however compile your own custom copy of
orbitcpp which does this by simply editing these lines from
orbitcpp/compiler/base.hh:
#define IDL_CPP_HEADER_EXT "-cpp-common.hh"
#define IDL_CPP_MODULE_EXT "-cpp-common.cc"
#define IDL_CPP_STUB_HEADER_EXT "-cpp-stubs.hh"
#define IDL_CPP_STUB_MODULE_EXT "-cpp-stubs.cc"
#define IDL_CPP_SKEL_HEADER_EXT "-cpp-skels.hh"
#define IDL_CPP_SKEL_MODULE_EXT "-cpp-skels.cc"
#define IDL_CPP_MAIN_HEADER_EXT "-cpp.hh"
#define IDL_CPP_MAIN_MODULE_EXT "-cpp.cc"
Hope this helps,
Phil
Phil Dawes writes:
>
> Hi, I'll add it to the todo list for the 0.29 release,
>
> Cheers
>
> Phil
>
> Mike Bond writes:
> > If it would not be too difficult, it would be nice to be able to specify
> > the generated file name extensions. Currently it uses .cc and .hh, but
> > unfortunately there is no one standard, and the project I am working on
> > and hoping to use orbitcpp with uses .cpp and .h as their extensions of
> > choice.
> >
> > Just an idea...
> >
> > --
> > TTFN
> > MikeB
> > _______________________________________________
> > orbitcpp-list mailing list
> > orb...@li...
> > http://lists.sourceforge.net/mailman/listinfo/orbitcpp-list
> >
>
> _______________________________________________
> orbitcpp-list mailing list
> orb...@li...
> http://lists.sourceforge.net/mailman/listinfo/orbitcpp-list
>
|