File: gnomeada2.gpr

package info (click to toggle)
libgtkada2 2.4.0-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 18,400 kB
  • ctags: 4,705
  • sloc: ada: 90,819; ansic: 32,798; perl: 4,017; sh: 2,747; makefile: 1,023
file content (23 lines) | stat: -rw-r--r-- 844 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--  This project file is designed to help build applications that use
--  GnomeAda2.  Here is an example of how to use this project file:
--
--  with "/usr/share/ada/adainclude/gnomeada2";
--  project Example is
--     for Object_Dir use "obj";
--     for Exec_Dir use ".";
--     for Main use ("example");
--     package Linker renames GnomeAda2.Linker;
--     --  Alternatively, if you need additional switches:
--     --  package Linker is
--     --     for Default_Switches ("Ada") use (GnomeAda2.Ada_Switches & ...)
--     --  end Linker;
--  end Example;

project GnomeAda2 is
   for Source_Dirs use ("/usr/share/ada/adainclude/gnomeada2");
   for Object_Dir use "/usr/lib/ada/adalib/gnomeada2";
   Ada_Switches := "-lgtkada2-gnome";
   package Linker is
      for Default_Switches ("Ada") use (Ada_Switches);
   end Linker;
end GtkAda2;