buildsupport.gpr 958 Bytes
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1 2 3 4 5 6 7 8 9 10 11
with "ocarina";

project BuildSupport is

   for Source_Dirs use ("ada", "c", "include");

   for Object_Dir use "tmpBuild";
   for Exec_Dir use ".";
   for Main use ("buildsupport.adb");
   for Languages use ("Ada", "C");

12 13 14 15 16
   for Source_Files use ("imported_routines.ads",
                         "buildsupport.adb",
                         "buildsupport_utils.ads",
                         "buildsupport_utils.adb",
                         "buildsupport_version.ads");
Maxime Perrotin's avatar
Maxime Perrotin committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41

   package Builder is
      for Default_Switches ("ada") use ("-m");
   end Builder;

   package binder is
     for default_switches ("Ada") use ("-E", "-t", "-static");
   end binder;		 

   package Compiler is
      for Default_Switches ("Ada") use
        ("-g",
         "-gnat05",
         "-gnatf",
         "-gnaty",
	 -- "-gnatwa",
         "-gnatoa",
	 "-gnatg",
         "-fstack-check");

      for Default_Switches ("C") use ("-g");
   end Compiler;

end BuildSupport;