comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Adding a compiler to GPS or a GPR project
Date: Wed, 30 Dec 2009 06:05:45 -0800 (PST)
Date: 2009-12-30T06:05:45-08:00	[thread overview]
Message-ID: <f4f639a6-c39b-4f39-8516-e06616c39c8a@26g2000yqo.googlegroups.com> (raw)

Hi all of you,

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.



             reply	other threads:[~2009-12-30 14:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-30 14:05 Hibou57 (Yannick Duchêne) [this message]
2009-12-30 14:31 ` Adding a compiler to GPS or a GPR project Dmitry A. Kazakov
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