From: Mark Lorenzen <mark.lorenzen@gmail.com>
Subject: Re: Raising "exception" in a .gpr file
Date: Sun, 15 Aug 2021 09:00:39 -0700 (PDT) [thread overview]
Message-ID: <ca20b201-cf55-401d-b726-1f1752b10196n@googlegroups.com> (raw)
In-Reply-To: <sf63oi$c1g$1@dont-email.me>
On Friday, August 13, 2021 at 5:40:05 PM UTC+2, björn lundin wrote:
> project Environment is
> for Source_Dirs use (); -- to avoid warnings about no source files in
> THIS project
You can declare the project as "abstract" and then you do not need to define Source_Dirs i.e:
abstract project Environment is
...
end Environment;
See https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/gnat_project_manager.html#sharing-between-projects
Regards,
Mark L
next prev parent reply other threads:[~2021-08-15 16:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-13 7:23 Raising "exception" in a .gpr file mockturtle
2021-08-13 7:44 ` Dmitry A. Kazakov
2021-08-13 8:11 ` mockturtle
2021-08-13 15:40 ` Björn Lundin
2021-08-15 16:00 ` Mark Lorenzen [this message]
2021-08-15 16:21 ` Britt
2021-08-16 13:13 ` Fabien Chouteau
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox