From: Gautier write-only address <gautier_niouzes@hotmail.com>
Subject: Build order with gprbuild
Date: Tue, 28 Feb 2023 13:10:59 -0800 (PST) [thread overview]
Message-ID: <2bee0de5-2d5c-44a7-bdab-a1d266855c96n@googlegroups.com> (raw)
When a GNAT project A depends on project B, is there a simple (*) way to make gprbuild build project B before starting the build of A?
It would be useful when project B generates Ada sources…
Example:
with "code_generation.gpr";
project Main is
for Source_Dirs use (".", "gen");
for Object_Dir use "obj";
for Create_Missing_Dirs use "True"; -- Flips by default the "-p" switch
for Main use ("main.adb");
end Main;
(*) By “simple” I mean simpler than the way described here:
https://www.adacore.com/gems/gem-157-gprbuild-and-code-generation
next reply other threads:[~2023-02-28 21:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 21:10 Gautier write-only address [this message]
2023-02-28 22:07 ` Build order with gprbuild Dmitry A. Kazakov
2023-03-01 20:08 ` Gautier write-only address
2023-03-02 14:11 ` AdaMagica
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