~ubuntu-branches/ubuntu/precise/gnat-gps/precise

« back to all changes in this revision

Viewing changes to prj_editor/prj_editor.gpr

  • Committer: Package Import Robot
  • Author(s): Ludovic Brenta
  • Date: 2012-01-15 15:42:21 UTC
  • mfrom: (10.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120115154221-ccysuzvh02pkhuwq
Tags: 5.0-6
Rebuild against libgtkada 2.24.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
with "../common/common";
2
2
with "gtkada";
3
3
with "../kernel/kernel";
 
4
with "../toolchains_editor/ui/toolchains_ui";
4
5
with "../widgets/widgets";
5
6
with "../vsearch/vsearch";
6
7
with "../shared";
9
10
 
10
11
   for Languages use ("C", "Ada");
11
12
   for Source_Dirs use ("src", "testsuite");
12
 
   for Object_Dir use "obj";
 
13
   for Object_Dir use Shared'Object_Dir;
13
14
 
14
15
   type Build_Type is ("Debug", "Production");
15
16
   Build : Build_Type := External ("Build", "Debug");
16
17
 
17
18
   package Builder is
18
 
      --  -a is required for g-exptty.adb
19
 
      for Default_Switches ("Ada") use ("-g", "-a", "-m");
 
19
      for Default_Switches ("Ada") use ("-g", "-m");
20
20
      case Build is
21
21
          when "Debug" =>
22
 
             for Default_Switches ("Ada") use Builder'Default_Switches ("Ada")
23
 
                 & ("-gnatVa");
 
22
             for Default_Switches ("Ada") use Builder'Default_Switches ("Ada");
24
23
             for Global_Configuration_Pragmas use "../gps/gnat_debug.adc";
25
24
          when "Production" =>
26
25
             for Global_Configuration_Pragmas use "../gps/gnat.adc";