From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Two questions about gpr files
Date: Tue, 8 Apr 2014 11:38:08 +0200
Date: 2014-04-08T11:38:08+02:00 [thread overview]
Message-ID: <cn2ww59gsnqf.kxxmjcnh3s9y.dlg@40tude.net> (raw)
In-Reply-To: 8561mktfb1.fsf@stephe-leake.org
On Tue, 08 Apr 2014 03:07:30 -0500, Stephen Leake wrote:
> use a Makefile, and or a configure script.
Never ever use Makefile. If you want your project stay useful. Make a
mental experiment. Let you download any project that uses Makefile,
including Ada projects. What are chances that you will be able to compile
it? Without ./configure it is less than 10%. With ./configure it is less
than 1%. For anything complex (e.g. GtkAda) it is plain 0%.
The best way to do conditional "with" (the method suggested by Simon does
not work, I tried it before), is to include the project always but make it
empty for the targets it does not support (e.g. no source files).
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
prev parent reply other threads:[~2014-04-08 9:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-05 8:01 Two questions about gpr files mockturtle
2014-04-05 11:19 ` Simon Wright
2014-04-08 8:07 ` Stephen Leake
2014-04-08 9:38 ` Dmitry A. Kazakov [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox