comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: ... !! GPS
Date: Fri, 29 Jan 2021 17:40:47 +0100	[thread overview]
Message-ID: <rv1dqc$1s1j$1@gioia.aioe.org> (raw)
In-Reply-To: 3d337aff-76c2-4360-9223-1d55db2f889fn@googlegroups.com

On 2021-01-29 17:15, Mehdi Saada wrote:

> What the Ѐßß is that ? it ran on other exercises, then would not, so with a minimal program... it fails too.
> 
> project Default is
>      for Source_Dirs use ("src");

    for Source_Files use ("main.adb"); -- Why do I stuff everything
                                       -- in one directory?
    for Exec_Dir use "obj"; -- Remind me, why do I want executable
                            -- in the objects directory?

>      for Object_Dir use "obj";
>      for Main use ("main.adb");
> end Default;
> 
> it always uses "src" which includes the files from other projects/exos. So they appear on the project... !
> 
> Thanks for putting up with this...
> Is there a simple compiler which still corrects for semantics ?

P.S. When nothing else helps, as the last resort, of course, consider 
reading the manual. (:-))

https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/gnat_project_manager.html

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2021-01-29 16:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 16:15 ... !! GPS Mehdi Saada
2021-01-29 16:40 ` Dmitry A. Kazakov [this message]
2021-01-29 18:39 ` Simon Wright
replies disabled

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