help / color / mirror / Atom feed
From: Gautier write-only address <>
Subject: Build order with gprbuild
Date: Tue, 28 Feb 2023 13:10:59 -0800 (PST)	[thread overview]
Message-ID: <> (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…

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:

             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