From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1c8c283347cf0236 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.internetdienste.de!news.tu-darmstadt.de!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Dirk Heinrichs Newsgroups: comp.lang.ada Subject: Re: C++/cmake project, injecting Ada... (was Re: If not Ada, what else...) Followup-To: comp.lang.ada Date: Sat, 28 May 2011 19:33:17 +0200 Organization: Privat Message-ID: References: <8ee03ab1-6745-4aa4-82ee-be1eccc9afc9@p3g2000vbv.googlegroups.com> NNTP-Posting-Host: pd9ff874f.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: online.de 1306603997 20406 217.255.135.79 (28 May 2011 17:33:17 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Sat, 28 May 2011 17:33:17 +0000 (UTC) User-Agent: KNode/4.4.10 Xref: g2news1.google.com comp.lang.ada:19537 Date: 2011-05-28T19:33:17+02:00 List-Id: Alex R. Mosteo wrote: > 2) Build framework: I read somewhere that gprbuild should be used instead. > Obviously, I don't like being the newcomer and having to propose that > cmake has to go in favor of an unknown tool. Also, not sure of how > gprbuild would deal with C/c++ libraries that can be packaged differently > depending on OS versions. Alternatively, I confess not having any idea how > a few Ada sources could be integrated with cmake. Would very much like to > know if this is doable. I use omake (from the Mojave project) to build my Ada stuff, so it is doable. Just read chapter 2 (The GNAT Compilation Model) of the GNAT User's Guide. This should tell you all you need to compile your Ada sources with any build tool you want. The reason for using omake? Well, it's not GNU make, thus it comes with dependency tracking, build command checksumming, built-in build cache, background execution with source file monitoring, etc. Bye... Dirk