File: main.gpr

package info (click to toggle)
gprbuild 2011-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 10,396 kB
  • sloc: ada: 94,726; sh: 2,818; xml: 2,225; makefile: 471; ansic: 240; cpp: 89; fortran: 62; asm: 27
file content (18 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
with "general_lib.gpr";
project Main is
   for Languages   use ("C");
   for Source_dirs use ("../libraries"); 
   for Main        use ("c_main.c");
  
   case General_Lib.Kind is
      when "static" =>
         for Object_Dir use "obj";
      when "dynamic" | "extern" =>
         for Object_Dir use "obj1";
   end case;

   for Roots ("c_main.c") use ("ada_lib");
   package Builder is
      for Executable ("c_main.c") use "main";
   end Builder;
end Main;