forked from ada-game-framework/sdlada
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.gpr
27 lines (22 loc) · 903 Bytes
/
test.gpr
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
with "sdl.gpr";
project Test is
for Languages use ("Ada", "C");
for Source_Dirs use ("test");
for Object_Dir use "build_test/.obj";
for Exec_Dir use "build_test";
for Main use ("test.adb", "version.adb", "platform.adb", "error.adb", "libraries.adb", "clipboard.adb");
package Ide is
for Gnat use "/home/laguest/opt/tinyada/bin/gnat";
for Gnatlist use "/home/laguest/opt/tinyada/bin/gnatls";
for Debugger_Command use "";
for Compiler_Command ("ada") use "gnatmake";
for Compiler_Command ("c") use "c++";
end Ide;
package Compiler is
for Default_Switches ("C") use ("-O0", "-g", "-ffunction-sections", "-fdata-sections");
for Default_Switches ("Ada") use ("-O0", "-g", "-ffunction-sections", "-fdata-sections");
end Compiler;
package Builder is
for Default_Switches ("Ada") use ("-gnat2012", "-gnata");
end Builder;
end Test;