blob: a4efd08ab16392c8e13e9ca09b8d8b97bffa3c75 (
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
|
-- goal is for executable to be no more than 90-100kB
-- when dynamically linked, to match leafpad
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;
|