summaryrefslogtreecommitdiff
path: root/adapad.gpr
blob: cef942e6eb8a3d7995ab6e6f8dbfb4cf84f9eb42 (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


project AdaPad is


    for Languages use ("Ada", "C++");


    for Source_Dirs use ("src/**");
    for Object_Dir use "obj";
    for Exec_Dir use "bin";
    for Main use ("adapad.adb");


    package Builder is
        for Executable("adapad.adb") use "adapad";
    end Builder;


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


    package Linker is
        -- should this be filed under C++ somehow?
        for Default_Switches("Ada") use ("-lfltk");
    end Linker;


end AdaPad;