summaryrefslogtreecommitdiff
path: root/example.gpr
blob: 7637830c0a244f7e16f9c8d3b3e5f35b1c010d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32


with "aao";


project Example is


    for languages use ("Ada", "C");


    for Source_Dirs use ("example");
    for Object_Dir use "obj";
    for Exec_Dir use "bin";
    for Main use ("aao_example.adb", "ao_example.c");


    package Builder is
        for Executable("aao_example.adb") use "ada_example";
        for Executable("ao_example.c") use "c_example";
    end Builder;


    package Compiler is
        for Default_Switches("Ada") use ("-gnaty4aAbcefhiklM100nprt");
        for Default_Switches("C") use ("-Wall", "-Wextra");
    end Compiler;


end Example;