From: sjw <simon.j.wright@mac.com>
Subject: Re: How can I loose the cmd window from my GtkAda app?
Date: Mon, 11 May 2009 14:36:16 -0700 (PDT)
Date: 2009-05-11T14:36:16-07:00 [thread overview]
Message-ID: <e4f80745-6139-48b3-bc11-ce2fd88d27cc@r36g2000vbr.googlegroups.com> (raw)
In-Reply-To: aicc25rzguxw.1rko6vjgr46re.dlg@40tude.net
On May 11, 5:40 pm, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
> Yes, however I would prefer to have it enforced by gtkada.gpr, rather than
> contaminating the application's gpr which with-es gtkada.gpr. Unfortunately
> I know no way to do this in a library project.
I've provided strings in library projects ...
project Tash_Options is
......
Library_Options :=
(
"-L/usr/lib",
"-ltk8.4",
"-ltcl8.4"
);
Linker_Options := ("-ltash") & Library_Options;
end Pash_Options;
with "tash_options";
project Tash is
...
Linker_Options := Tash_Options.Linker_Options;
package Linker is
for Default_Switches ("ada") use Linker_Options;
end Linker;
...
end Tash;
after which you can get at the linker options with either
Tash.Linker_Options
or
Tash.Linker'Default_Switches ("ada")
(I don't remember why I supply both! must go to bed ..)
next prev parent reply other threads:[~2009-05-11 21:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 15:19 How can I loose the cmd window from my GtkAda app? daniel.wengelin
2009-05-11 15:53 ` Dmitry A. Kazakov
2009-05-11 15:30 ` Per Sandberg
2009-05-11 16:40 ` Dmitry A. Kazakov
2009-05-11 16:41 ` Per Sandberg
2009-05-11 21:36 ` sjw [this message]
2009-05-12 7:15 ` Dmitry A. Kazakov
2009-05-12 8:13 ` Jean-Pierre Rosen
2009-05-12 9:24 ` Dmitry A. Kazakov
2009-09-10 20:24 ` Jack Mitchell
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox