comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Build order with gprbuild
Date: Thu, 2 Mar 2023 06:11:58 -0800 (PST)	[thread overview]
Message-ID: <47f161f0-998e-4c6f-bcd8-59ad0a657c60n@googlegroups.com> (raw)
In-Reply-To: <018c257d-44cd-49cd-aac8-8c2b2cf616c4n@googlegroups.com>

I run all the following from the GPS window, not from a terminal (does this matter?).
I ran this on windows with GNAT CE 2021, one project after the other: OK
Then I changed one of the .cfg files, the main project did not notice the change as you said.
I had to run code_generation alone to recreate from tne new cfg file.
I ran main again: OK
Then i even deleted one of the generated Ada files and reran main: To my surprise, it did not realize that one Ada file is missing.

Project view of Gnat Studio for project main:
Main
> .
>>fuzzy_gen.adb
>> main.adb
>Code_Generation
>>.
>>>x123.cfg
>>>x456.cfg
>>>x789.cfg

Note that the generated Ada files are not shown, subdirectory gen is not shown.
(The > character is used for indentation, the group swallows blanks.)

Perhaps you have to define some surrogate for the .ali (Ada Library Information) files from the .cfg files additionally.

  reply	other threads:[~2023-03-02 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28 21:10 Build order with gprbuild Gautier write-only address
2023-02-28 22:07 ` Dmitry A. Kazakov
2023-03-01 20:08   ` Gautier write-only address
2023-03-02 14:11     ` AdaMagica [this message]
2023-03-02 16:54       ` AdaMagica
2023-03-02 22:29 ` Simon Wright
2023-03-04 19:01   ` AdaMagica
2023-03-05 18:35     ` AdaMagica
replies disabled

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