comp.lang.ada
 help / color / mirror / Atom feed
* Build order with gprbuild
@ 2023-02-28 21:10 Gautier write-only address
  2023-02-28 22:07 ` Dmitry A. Kazakov
  2023-03-02 22:29 ` Simon Wright
  0 siblings, 2 replies; 8+ messages in thread
From: Gautier write-only address @ 2023-02-28 21:10 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-03-05 18:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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