Versione finale relazione
[toni-reis.git] / toni_reis.gpr
blobdc849f5b6aa5217f0683c3c3dc89ee786750bc9b
1 project Toni_Reis is
3    type Mode_Type is
4       ("Production", "Debug");
5    Mode : Mode_Type := external ("BUILD", "Debug");
7    case Mode is
9       when "Production" =>
11       when "Debug" =>
12          for Object_Dir use "obj";
13          for Source_Dirs use ("src");
14          for Main use ("main.adb", "car.adb", "race.adb", "track.adb");
15    end case;
17    package Compiler is
19       case Mode is
21          when "Production" =>
22             for Default_Switches ("ada") use ("-gnatp", "-O2");
24          when "Debug" =>
25             for Default_Switches ("ada") use ("-g", "-gnato", "-fstack-check", "-gnatVa");
26       end case;
27    end Compiler;
29    package Ide is
31       case Mode is
33          when "Production" =>
34             for Vcs_Kind use "CVS";
36          when "Debug" =>
37             for Vcs_Kind use "Git";
38             for Vcs_Repository_Root use "http://repo.or.cz/srv/git/toni-reis.git/";
39       end case;
40    end Ide;
42    package Builder is
44       case Mode is
46          when "Production" =>
48          when "Debug" =>
49             for Default_Switches ("ada") use ("-aI/usr/local/include/gtkada", "-aI/usr/local/include/xmlada", "-aO/usr/local/lib/gtkada/relocatable", "-aO/usr/local/lib/xmlada/static", "-largs", 
50 "-L/usr/local/lib/gtkada/relocatable", "-lgtkada", "-lgtk-x11-2.0", "-lgdk-x11-2.0", "-latk-1.0", "-lpangoft2-1.0", "-lgdk_pixbuf-2.0", "-lm", "-lpangocairo-1.0", "-lgio-2.0", "-lcairo", "-lpango-1.0", "-lfreetype", "-lfontconfig", 
51 "-lgobject-2.0", "-lgmodule-2.0", "-lglib-2.0", "/usr/local/lib/xmlada/static/libxmlada_input_sources.a", "/usr/local/lib/xmlada/static/libxmlada_sax.a", "/usr/local/lib/xmlada/static/libxmlada_unicode.a", 
52 "/usr/local/lib/xmlada/static/libxmlada_dom.a", "/usr/local/lib/xmlada/static/libxmlada_schema.a");
53       end case;
54    end Builder;
56 end Toni_Reis;