aboutsummaryrefslogtreecommitdiff
path: root/example.gpr
blob: e799be282d166b2f29a757f0309d17a768b53cbb (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
33
34
35
36
37
38
39
40
41


with

    "asndfile",
    "proj/common";


project Example is


    for languages use ("Ada");

    for Source_Dirs use ("example");
    for Object_Dir use "obj";
    for Exec_Dir use "bin";

    for Main use
       ("file_info_example.adb",
        "read_example.adb",
        "virtual_io_example.adb");

    package Builder is
        for Executable("file_info_example.adb")  use "info_example";
        for Executable("read_example.adb")       use "read_example";
        for Executable("virtual_io_example.adb") use "virtual_example";

        for Default_Switches ("Ada") use
            Common.Builder'Default_Switches ("Ada");
        for Global_Compilation_Switches ("Ada") use
            Common.Builder'Global_Compilation_Switches ("Ada");
    end Builder;

    package Compiler renames Common.Compiler;
    package Binder   renames Common.Binder;
    package Linker   renames Common.Linker;


end Example;