[omniORB] omniidl 3.0 request and questions
David Scott
djs@uk.research.att.com
Thu, 6 Jul 2000 09:14:22 +0100 (BST)
On Wed, 5 Jul 2000, Jonathan Clark wrote:
> ...
> Q: How can specify the output extensions for c++ headers and source
> files. Specifically rename .cc/.hh to .cpp/.hpp? omniidl 2.8 had
> this feature with -s and -h, but it seems to have been removed.
>
You get C++ backend specific arguments listed if you run "omniidl -bcxx
-u" (this should work for other backends too)
For your particular task you need to use
-Wbh=<header suffix>
-Wbs=<skel code suffix>
-Wbd=<dyn code suffix>
eg
omniidl -bcxx -Wba -Wbh=.hpp -Wbs=.cpp -Wbd=Dyn.cpp foo.idl
Produces three files: foo.hpp, fpp.cpp and fooDyn.cpp
HTH,
David
--
Dave Scott, Research Engineer, AT&T Laboratories Cambridge UK