comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Exporting linker options from library GPR
Date: Sat, 17 Feb 2018 07:49:18 +0000
Date: 2018-02-17T07:49:18+00:00	[thread overview]
Message-ID: <lyr2pkgio1.fsf@pushface.org> (raw)
In-Reply-To: 4a06e363-24f7-43ec-a883-245933896b77@googlegroups.com

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> You might be able to get gprbuild to run sdl2-config if you create
> your own xml file. See gnat/share/gprconfig/*.xml. Those files tell
> gprbuild how to run tools. I haven't played with that in a long time,
> and I'm sure it's changed since then (it changed often when I was
> playing with it), so I can't help more than this.

I didn't think that would let you feed back the result of running the
tool into gprbuild; but worth a look, thanks.

> You can run sdl2-config in the makefile, put the result in an
> environment variable, and read that environment variable in the gpr
> (maybe that's what you mean by "in the makefile" above).

Yes.


  reply	other threads:[~2018-02-17  7:49 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-19 14:25 Exporting linker options from library GPR Simon Wright
2018-01-19 16:10 ` Dmitry A. Kazakov
2018-01-19 17:25   ` Simon Wright
2018-01-20 18:15     ` Stephen Leake
2018-02-13  9:43 ` Luke A. Guest
2018-02-13 18:37   ` Lucretia
2018-02-13 20:30     ` Simon Wright
2018-02-13 20:37     ` Simon Wright
2018-02-14  6:29       ` Luke A. Guest
2018-02-13 20:42     ` Simon Wright
2018-02-14  7:10       ` Luke A. Guest
2018-02-14  9:33         ` Simon Wright
2018-02-14  9:59           ` Luke A. Guest
2018-02-15  1:04             ` Lucretia
2018-02-15  8:49               ` Simon Wright
2018-02-15 10:06                 ` Lucretia
2018-02-15 11:39                   ` Simon Wright
2018-02-15 15:22                     ` Lucretia
2018-02-15 15:24                     ` Lucretia
2018-02-15 18:38                       ` Lucretia
2018-02-15 18:42                         ` Lucretia
2018-02-15 20:52                           ` Simon Wright
2018-02-15 23:14                             ` Luke A. Guest
2018-02-16  8:29                               ` Simon Wright
2018-02-16 23:26                                 ` Stephen Leake
2018-02-17  7:49                                   ` Simon Wright [this message]
2018-02-17 14:51                                     ` Lucretia
2018-02-17 15:43                                       ` Simon Wright
2018-02-17 15:52                                         ` Lucretia
2018-02-16  7:29                             ` Lucretia
2018-02-13  9:50 ` Luke A. Guest
replies disabled

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