From: Per Sandberg <per.sandberg@bredband.net>
To: Michael Erdmann <michael_erdmann@snafu.de>, comp.lang.ada@ada-france.org
Subject: Re: Q: GPS and Preprocessor
Date: Sat, 21 Feb 2004 22:39:45 +0100
Date: 2004-02-21T22:39:45+01:00 [thread overview]
Message-ID: <mailman.5.1077399609.327.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <c1835t$9as$1@news.eusc.inter.net>
If you got the profesional version of GPS then i asume that you got the
the latest GNAT as well.
so why dont use the embedded onth fly preprocessor se the
-gnateDsymb=value needs a ferly new gnat in order to work 100%
-gnatep=file
options.
I used gnatprep in one small project of mine and changed to use the
inline prepocessor since i found that much more convenint.
some project file sample from the top of my head:
project sample is
package builder is
for Default_Switches use ("-s");
end builde;
package compiler is
for switches("source_that_needs_preprocessing.adb") use
compiler'Default_Switches("Ada") &
("-gnatep=preprocessordat.data");
end compiler;
end sample;
/hope it helps
/Per
Michael Erdmann wrote:
> Hallo,
>
> i have the non professinal version of GPS installed and i like to include
> gnatprep into a GPS project. Is there any way of doing it?
>
> Regards
> M.Erdmann
>
>
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada-france.org
> http://www.ada-france.org/mailman/listinfo/comp.lang.ada
>
next prev parent reply other threads:[~2004-02-21 21:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-21 17:06 Q: GPS and Preprocessor Michael Erdmann
2004-02-21 21:39 ` Per Sandberg [this message]
2004-02-22 8:52 ` Michael Erdmann
2004-02-22 12:11 ` Jeff C,
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox