buildsupport.gpr 1.01 KB
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1
with "ocarina";
Maxime Perrotin's avatar
Maxime Perrotin committed
2
with "templates_parser";  --  from libtemplates-parser11.10.1-dev
Maxime Perrotin's avatar
Maxime Perrotin committed
3 4 5 6 7 8 9 10 11 12

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");

13 14 15 16 17
   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
18 19 20 21 22 23 24

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

   package binder is
     for default_switches ("Ada") use ("-E", "-t", "-static");
Maxime Perrotin's avatar
Maxime Perrotin committed
25
   end binder;
Maxime Perrotin's avatar
Maxime Perrotin committed
26 27 28 29

   package Compiler is
      for Default_Switches ("Ada") use
        ("-g",
Maxime Perrotin's avatar
Maxime Perrotin committed
30
         "-gnat12",
Maxime Perrotin's avatar
Maxime Perrotin committed
31 32
         "-gnatf",
         "-gnaty",
Maxime Perrotin's avatar
Maxime Perrotin committed
33
         "-gnatwa",
Maxime Perrotin's avatar
Maxime Perrotin committed
34
         "-gnatoa",
Maxime Perrotin's avatar
Maxime Perrotin committed
35
         "-gnatg",
Maxime Perrotin's avatar
Maxime Perrotin committed
36 37 38 39 40 41 42
         "-fstack-check");

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

end BuildSupport;