[omniORB] Autoconf/automake and corba (was: Re: [tao-users] Need Advice)
Duncan Grisby
dgrisby@uk.research.att.com
Fri, 01 Mar 2002 15:51:31 +0000
On Friday 1 March, "Donna Maskell" wrote:
> As long as we are talking about making the filenames uniform, I'd like
> to mention that omniorb doesn't seem to have an option for changing the
> suffix on the source code file. I generate code with the -bcxx
> -Wbexample options and get .cc files for the source example file.
You're right. For no particularly good reason, there's no option to
change the suffix for example implementation code. This tiny patch
adds it, so you can do, for example,
omniidl -bcxx -Wbexample -Wbe=_i.cpp
The patch is in CVS.
Cheers,
Duncan.
Index: src/lib/omniORB2/omniidl_be/cxx/__init__.py
===================================================================
RCS file: /project/omni/cvsroot/omni/src/lib/omniORB2/omniidl_be/cxx/__init__.py,v
retrieving revision 1.18.2.13
diff -u -r1.18.2.13 __init__.py
--- src/lib/omniORB2/omniidl_be/cxx/__init__.py 2002/02/20 13:33:46 1.18.2.13
+++ src/lib/omniORB2/omniidl_be/cxx/__init__.py 2002/03/01 15:49:16
@@ -213,6 +213,8 @@
config.state['SK Suffix'] = arg[2:]
elif arg[:2] == "d=":
config.state['DYNSK Suffix'] = arg[2:]
+ elif arg[:2] == "e=":
+ config.state['IMPL Suffix'] = arg[2:]
elif arg == "inline":
config.state['Inline Includes'] = 1
else:
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --