<html><head></head><body>I&#39;d just reiterate, assuming omniorb is maintained via git-based repo with pull capability, then submit the PR.<br><br><div class="gmail_quote">On April 20, 2017 9:02:16 AM EDT, Titus von Boxberg via omniORB-list &lt;omniorb-list@omniorb-support.com&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> -----Ursprüngliche Nachricht-----<br /> Von: Duncan Grisby [mailto:duncan@grisby.org]<br /> Gesendet: Donnerstag, 20. April 2017 12:37<br /> An: Titus von Boxberg &lt;titus@elbe-informatik.de&gt;; omniorb-list@omniorb-<br /> <a href="http://support.com">support.com</a><br /> Betreff: Re: [omniORB] using cmake to build omniORB<br /> <br /> On Fri, 2017-04-14 at 09:32 +0000, Titus von Boxberg via omniORB-list<br /> wrote:<br /> <br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Could there be a consensus to switch the build system to CMake?<br /> What other conditions would have to be met?<br /> What objections do you see against this switch?<br /></blockquote> <br /> omniORB's build system is definitely rather over complex, with some<br /> historical baggage associated with
it. On the whole it works fine, though,<br /> so I don't see it as a huge priority to change it.<br /> <br /> If you can provide a CMake based build and demonstrate that it has clear<br /> advantages over the current scheme, and still supports all the strange old<br /> platforms supported in the current system, we could definitely switch to<br /> using it.<br /></blockquote><br />I have now made up a CMake configuration that works for Windows and Linux.<br />AFAICS it's compatible with the existing build system.<br />Exception: Currently, the windows libraries do not follow the existing naming scheme<br />but the more standard cmake &amp; boost scheme (implibs are libxxx.lib, dlls are xxx.(dll|lib)).<br /><br />Under Linux the cmake scripts fill a header based on <a href="http://acconfig.h.in">acconfig.h.in</a> with the HAVE_ values<br />determined by the cmake scripts.<br />Under Windows I use the _trad stuff with OMNI_CONFIG_TRADITIONAL.<br /><br />Furthermore, the build system
provides 1-step cross compilation (to Linux).<br /><br />I did not modify any omniORB sources except <a href="http://idlpython.cc">idlpython.cc</a> so that omniidl can<br />find the just installed python lib dir without -p when bin is not<br />in an "arch" directory like x86_win32.<br /><br />I have ported the other automatic generation steps like distdate.hh and<br />DLL export symbols extraction to cmake so there is no system or external script<br />interpreter dependency left (which I think is one of the really nifty advantages<br />of cmake). Still missing are the DLL manifests.<br /><br />I have not yet spent time on getting really well useable VS solutions<br />out of cmake. This is the next step for the coming days.<br />At least for my purposes, this is *the* advantage of the cmake build system.<br /><br />I don't have any interest in being backwards compatible to ancient operating systems.<br />I have access to FreeBSD and MacOS machines, so I could extend the scripts to
handle<br />these systems.<br />If someone really is interested in strange old platforms, the cmake build system<br />could be easily extended.<br />I took care to error out in if-else-statements when the target OS is unknown.<br />For my applications it would rather be interesting to remove all the old clutter (e.g. omnithread)<br />and switch to C++14/7. But that has not directly to do with cmake.<br /><br />Let me know if you're still interested.<br /><br />Titus<br /><br /><hr /><br />omniORB-list mailing list<br />omniORB-list@omniorb-support.com<br /><a href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list">http://www.omniorb-support.com/mailman/listinfo/omniorb-list</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>