From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Meet the new GPS...same as the old GPS...
Date: Tue, 27 Jun 2006 17:13:14 +0200
Date: 2006-06-27T17:13:14+02:00 [thread overview]
Message-ID: <4gd053F1maftdU1@individual.net> (raw)
In-Reply-To: 1151419844.957473.214400@m73g2000cwd.googlegroups.com
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
randomm@mindless.com wrote:
> Thanks very much, I'll have a look there. Alas, I won't have a sample
> project file to look at since GPS is now gone from my machine.
I attach my base project file for your convenience. It has nothing special
but my selection of switches for the compiler tools.
[-- Attachment #2: template.gpr --]
[-- Type: text/plain, Size: 2265 bytes --]
project Template is
type Build_Type is ("Debug", "Release", "No_Options", "Profile");
Build : Build_Type := external ("Build", "Debug");
for Source_Dirs use (".");
for Object_Dir use "obj";
for Exec_Dir use "obj";
for Languages use ("ada");
for Main use ("main.adb");
package Ide is
for Vcs_Kind use "Subversion";
end Ide;
package Compiler is
for Default_Switches ("c") use
("-g");
for Default_Switches ("ada") use
("-g", "-gnatf", "-gnat05", "-gnatwcfjklmopruvz", "-gnatyacehikn", "-gnatqQ");
case Build is
when "Profile" =>
for Default_Switches ("ada") use Compiler'Default_Switches ("ada") &
("-O2", "-gnato", "-fstack-check", "-gnata", "-gnatpg");
when "Debug" =>
for Default_Switches ("ada") use Compiler'Default_Switches ("ada") &
("-O2", "-gnato", "-fstack-check", "-gnata");
when "Release" =>
for Default_Switches ("ada") use Compiler'Default_Switches ("ada") &
("-O2", "-gnatn", "-gnatN");
when "No_Options" =>
for Default_Switches ("ada") use ("-gnat05");
-- Deliberately override default switches not to have any!
end case;
end Compiler;
package Binder is
for Default_Switches ("ada") use ("-E", "-g");
end Binder;
package Linker is
for Default_Switches ("ada") use ("-g", "-Wl,--gc-sections");
for Default_Switches ("c") use ("-g");
for Default_Switches ("c++") use ("-g");
end Linker;
package Builder is
for Default_Switches ("ada") use ("-g");
end Builder;
package Pretty_Printer is
for Default_Switches ("ada") use ("-A1", "-A2", "-A3", "-A4");
end Pretty_Printer;
package Naming is
for Specification_Suffix ("C") use ".h";
for Implementation_Suffix ("C") use ".c";
for Specification_Suffix ("C++") use ".hh";
for Implementation_Suffix ("C++") use ".cpp";
for Implementation_Suffix ("C++") use ".cc";
for Specification_Suffix ("Changelog") use "changelog";
for Specification_Suffix ("Project file") use ".gpr";
for Specification_Suffix ("Python") use ".py";
end Naming;
end Template;
next prev parent reply other threads:[~2006-06-27 15:13 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1151320748.360707.79490@u72g2000cwu.googlegroups.com>
2006-06-26 15:49 ` Meet the new GPS...same as the old GPS Martin Krischik
[not found] ` <1151342956.402547.244450@p79g2000cwp.googlegroups.com>
2006-06-26 17:42 ` M E Leypold
[not found] ` <1151437378.281759.5280@75g2000cwc.googlegroups.com>
2006-06-27 23:06 ` M E Leypold
2006-06-28 9:23 ` Ludovic Brenta
2006-06-28 12:48 ` M E Leypold
2006-06-29 21:01 ` Ludovic Brenta
[not found] ` <1151663198.061674.171420@b68g2000cwa.googlegroups.com>
2006-06-30 10:54 ` M E Leypold
2006-06-30 15:43 ` Stephen Leake
2006-06-30 21:57 ` Ludovic Brenta
2006-07-01 8:46 ` Simon Wright
[not found] ` <1151496846.934920.174760@x69g2000cwx.googlegroups.com>
2006-06-28 12:53 ` M E Leypold
2006-06-29 22:02 ` Simon Wright
2006-06-28 20:01 ` Ludovic Brenta
[not found] ` <1151597425.667829.326810@x69g2000cwx.googlegroups.com>
2006-06-29 17:10 ` M E Leypold
2006-06-30 15:46 ` Stephen Leake
2006-06-29 21:02 ` Ludovic Brenta
2006-06-28 20:42 ` Simon Wright
2006-06-28 21:07 ` Ludovic Brenta
[not found] ` <1151496427.622323.141370@x69g2000cwx.googlegroups.com>
2006-06-28 12:54 ` M E Leypold
2006-06-26 16:26 ` Alex R. Mosteo
[not found] ` <1151343516.598780.72970@m73g2000cwd.googlegroups.com>
2006-06-26 18:09 ` M E Leypold
[not found] ` <1151438643.540118.175130@b68g2000cwa.googlegroups.com>
2006-06-27 22:12 ` Ludovic Brenta
2006-06-27 23:09 ` M E Leypold
2006-06-27 23:30 ` Jeffrey Creem
[not found] ` <1151438075.641788.269960@m73g2000cwd.googlegroups.com>
2006-06-27 23:23 ` M E Leypold
2006-06-27 6:54 ` ME
2006-06-27 13:31 ` Alex R. Mosteo
[not found] ` <1151417657.725848.229020@75g2000cwc.googlegroups.com>
2006-06-27 14:38 ` Alex R. Mosteo
[not found] ` <1151419844.957473.214400@m73g2000cwd.googlegroups.com>
2006-06-27 15:13 ` Alex R. Mosteo [this message]
2006-06-27 15:35 ` randomm
2006-06-27 11:39 ` Jeffrey Creem
2006-06-27 13:34 ` Dmitry A. Kazakov
2006-06-27 19:57 ` Björn Persson
2006-06-27 15:11 ` Pascal Obry
[not found] ` <1151410861.923912.302040@c74g2000cwc.googlegroups.com>
2006-06-27 22:31 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox