From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Adding a compiler to GPS or a GPR project
Date: Wed, 30 Dec 2009 15:31:01 +0100
Date: 2009-12-30T15:31:00+01:00 [thread overview]
Message-ID: <1l5v84b72sizk$.j72gn8d711oq$.dlg@40tude.net> (raw)
In-Reply-To: f4f639a6-c39b-4f39-8516-e06616c39c8a@26g2000yqo.googlegroups.com
On Wed, 30 Dec 2009 06:05:45 -0800 (PST), Hibou57 (Yannick Duch�ne) wrote:
> Withins GPS, it is easy to add support for a language syntax, as easy
> as it is on most today's editors or IDEs. But I was not able to find
> how to associate a compilation command to a file of a given language,
> either in GPS or in a GPR project file.
>
> This is not formally required, as this could probably be done manually
> most of times, but just that this would be cleaner.
>
> GPS can compile C files in a project (sometimes a few ones may be
> required) invoking gcc to produce the corresponding object file in the
> object output directory. Is it possible to do the same with let say,
> *.rc files (Windows resource files) ?
>
> I had a look at the GPS documentation, and found about the <Language>
> root tag for XML configuration files. This allow to define most of
> syntactic concerns of a language, but I was not able to find a way to
> define a command line to compile a file of a given language with this
> kind of configuration files.
What about:
http://www.adacore.com/wp-content/files/auto_update/gprbuild-docs/html/gprbuild_ug.html#Package-Compiler
which defines the compiler for the given language. (The compilation command
line is determined by a combination of various project setting, obviously.)
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2009-12-30 14:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 14:05 Adding a compiler to GPS or a GPR project Hibou57 (Yannick Duchêne)
2009-12-30 14:31 ` Dmitry A. Kazakov [this message]
2009-12-30 17:46 ` Hibou57 (Yannick Duchêne)
2009-12-31 7:03 ` Stephen Leake
2009-12-31 12:39 ` Hibou57 (Yannick Duchêne)
2010-01-01 14:58 ` Hibou57 (Yannick Duchêne)
2010-01-01 15:51 ` Hibou57 (Yannick Duchêne)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox