From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Suggestion about best practice with .gpr files
Date: Mon, 31 May 2021 10:07:31 -0700 [thread overview]
Message-ID: <86wnrede7g.fsf@stephe-leake.org> (raw)
In-Reply-To: 966aa783-a803-46ea-bdac-3092bc8ad418n@googlegroups.com
Maxim Reznik <reznikmm@gmail.com> writes:
> foolib/
> ...|
> ...+-- Makefile
> ...+--alire.toml
> ...+-- docs
> ...+-- gnat
> ...|
> ......+-- foo.gpr
> ......+-- foo_tests.gpr
> ...+-- source
> ...+-- testsuite
I used to maintain a project that was compiled with gnat for general
development and initial testing, and ObjectAda for final testing and
release. So there was an "object_ada" directory parallel to the "gnat"
directory. But I also found that the Makefiles differed enough that they
were in those directories as well; shared rules are in a "rules.make"
file.
Similar issues arise when maintaining distribution files for several OS
versions.
And "docs" are source, just in a different language. Why are they in a
separate directory?
If you are grepping for all occurences of variable "foo", you want to
search the .texi and .ad[sb] files at the same time.
--
-- Stephe
next prev parent reply other threads:[~2021-05-31 17:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-30 17:37 Suggestion about best practice with .gpr files mockturtle
2021-05-30 17:46 ` Stephen Leake
2021-05-30 19:31 ` Simon Wright
2021-05-30 17:56 ` Dmitry A. Kazakov
2021-05-30 20:22 ` Jeffrey R. Carter
2021-05-31 7:42 ` AdaMagica
2021-05-31 16:59 ` Stephen Leake
2021-06-01 9:33 ` Jeffrey R. Carter
2021-06-04 7:48 ` Björn Lundin
2021-06-04 8:14 ` Dmitry A. Kazakov
2021-06-04 9:18 ` Jeffrey R. Carter
2021-06-04 9:47 ` Björn Lundin
2021-06-04 12:52 ` Simon Wright
2021-06-04 14:53 ` Björn Lundin
2021-06-01 14:38 ` Shark8
2021-05-31 15:02 ` Maxim Reznik
2021-05-31 17:07 ` Stephen Leake [this message]
2021-05-31 20:14 ` Per Sandberg
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox