-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvisualiseur.gpr
38 lines (29 loc) · 1.16 KB
/
visualiseur.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
28
29
30
31
32
33
34
35
36
37
with "adasdl.gpr";
project viewer is
for Main use ("visualiseur.adb");
for Source_Dirs use ("./src");
for Object_Dir use "./obj";
package Ide is
for Vcs_Kind use "Auto";
end Ide;
package Builder is
for Default_Switches ("ada") use ("-j2", "-k", "-g", "-s");
end Builder;
package Compiler is
for Default_Switches ("ada") use ("-gnato", "-fstack-check", "-g", "-gnat95");
end Compiler;
type Devel_Environment_Type is ("penWin32","general");
-- To be overrided by the environment variable DE
DE : Devel_Environment_Type := external ("DE","general");
package Linker is
case DE is
when "penWin32" =>
for Default_Switches ("ada") use ("-L../../../supportFilesW32/devel/libs","-lSDL", "-lSDL_mixer", "-lSDL_image", "-lSDL_ttf", "-lopengl32", "-lGLU32");
when "general" =>
for Default_Switches ("ada") use ("-lSDL", "-lSDL_mixer", "-lSDL_image", "-lSDL_ttf", "-lGL", "-lGLU");
when others =>
for Default_Switches ("ada") use ("-lSDL", "-lSDL_mixer", "-lSDL_image", "-lSDL_ttf", "-lGL", "-lGLU");
end case;
end Linker;
for Exec_Dir use ".";
end viewer;