comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.invalid>
Subject: Re: How to best organize and build large projects?
Date: Mon, 21 Sep 2015 12:31:48 +0200
Date: 2015-09-21T12:31:48+02:00	[thread overview]
Message-ID: <mtom70$dml$1@dont-email.me> (raw)
In-Reply-To: <428ab038-94ac-4549-ae3b-0b06f4fb80a8@googlegroups.com>

On 20.09.15 18:42, John Smith wrote:
> Hi all,
>
> In your experience, what are some good approaches in case I want to organize and then build an application with many files and resources.  Would you split the project up into source, resources, build_scripts, etc?  Would you use makefiles to build the whole thing or some other tool?
>

If "to organize" also means things like "generating sources",
adapting resources, and the like, then a ubiquitous scripting
language can be easier than just Ada or just (GNU) make,
if the former has actually been made for such tasks.
If resources are (de facto) proprietary, I guess the proprietor's
tools will be a good choice.
Preferably a scripting language that is either typically installed,
or else easy to get, and portable, such as Perl, or Ruby. (Minimizing
dependencies has always been good ROI unless the plan was (it wasn't)
to generate administrative extra work.)

For Ada sources, I'd expect makefiles to just drive the
Ada compiler's own make programs: Since Ada has its concept
of "library" (and configuration pragmas), one would be right
when expecting library aware build tools. (GNAT has them,
the compilers using the AdaMagic front end have them, the
former Rational tools may even have emphasized them (hearsay),
...)

OTOH, when generating documentation, chances are that
a simple makefile can drive typical processes, such as
transformations from DITA->HTML, DocBook->Something,
nroff->man etc. Trying BSD Make vs Microsoft Nmake vs
GNU make has, on occasion, contributed to robustness.


  parent reply	other threads:[~2015-09-21 10:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-20 16:42 How to best organize and build large projects? John Smith
2015-09-20 18:42 ` gautier_niouzes
2015-09-20 18:58 ` David Botton
2015-09-20 19:45 ` Dmitry A. Kazakov
2015-09-22 18:02   ` John Smith
2015-09-21 10:31 ` Georg Bauhaus [this message]
2015-09-21 12:03 ` Lucas Redding
2015-09-21 15:19   ` Simon Wright
2015-09-21 15:28     ` David Botton
2015-09-21 16:38       ` Simon Wright
2015-09-21 16:50         ` David Botton
2015-09-21 16:52       ` Dmitry A. Kazakov
2015-09-21 17:17       ` Shark8
2015-09-21 16:59     ` Dmitry A. Kazakov
2015-09-21 21:36       ` Simon Wright
2015-09-21 21:52         ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox