comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Adding a compiler to GPS or a GPR project
Date: Thu, 31 Dec 2009 02:03:07 -0500
Date: 2009-12-31T02:03:07-05:00	[thread overview]
Message-ID: <u3a2reic4.fsf@stephe-leake.org> (raw)
In-Reply-To: 1l5v84b72sizk$.j72gn8d711oq$.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> 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.
>> 
>> ...
>
> 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.)

Another approach is to teach gprbuild about the language at a deeper
level; see 

http://www.adacore.com/wp-content/files/auto_update/gprbuild-docs/html/gprbuild_ug.html#The-GPRconfig-knowledge-base

Once gpr knows about the RC language, you can just put 

for Languages use ("Ada", "RC");

in your main *.gpr file.

-- 
-- Stephe



  parent reply	other threads:[~2009-12-31  7:03 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
2009-12-30 17:46   ` Hibou57 (Yannick Duchêne)
2009-12-31  7:03   ` Stephen Leake [this message]
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