-
Notifications
You must be signed in to change notification settings - Fork 4
/
asfml_opengl.gpr
41 lines (32 loc) · 1.31 KB
/
asfml_opengl.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
38
39
40
41
library project ASFML_OpenGL is
type T_OS is ("Windows_NT", "Linux");
V_OS : T_OS := external ("OS", "Linux");
for Languages use ("Ada");
for Create_Missing_Dirs use "True";
for Source_Dirs use ("include");
for Object_Dir use "obj";
for Library_Name use "asfml";
for Library_Dir use "lib";
for Library_ALI_Dir use "lib";
for Library_Kind use "static";
package Linker is
case V_OS is
when "Windows_NT" =>
for Linker_Options use
("-LD:\Libraries\CSFML-2.5\lib\gcc",
"-lcsfml-system", "-lcsfml-audio", "-lcsfml-network", "-lcsfml-audio",
"-lcsfml-graphics", "-lcsfml-window",
"-LD:\Libraries\OpenGL32\lib", "-lopengl32", "-lglu32", "-lasfml");
when others =>
for Linker_Options use
(
-- Add this if you need to provide your own compiled version of SFML/CSFML
-- "-L../../SFML/SFML/lib", "-L../../SFML/CSFML/lib",
-- "-lsfml-system", "-lsfml-audio", "-lsfml-network",
-- "-lsfml-audio", "-lsfml-graphics", "-lsfml-window",
-- End
"-lcsfml-system", "-lcsfml-audio", "-lcsfml-network", "-lcsfml-audio",
"-lcsfml-graphics", "-lcsfml-window", "-lOpenGL", "-lGLU", "-lasfml");
end case;
end Linker;
end ASFML_OpenGL;