forked from alire-project/alire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alr_env.gpr
54 lines (44 loc) · 1.92 KB
/
alr_env.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
42
43
44
45
46
47
48
49
50
51
52
53
54
with "alire_common.gpr"; -- To gain access to Host_OS without redefining it
aggregate project Alr_Env is
-- To be able to build with this project file, the user must set the
-- host operating system in ALIRE_OS using one of the values defined
-- in alire_common.gpr
for Create_Missing_Dirs use "True";
for Project_Path use (
"deps/aaa",
"deps/ada-toml",
"deps/ajunitgen",
"deps/ansi",
"deps/clic",
"deps/cstrings",
"deps/den",
"deps/dirty_booleans",
"deps/diskflags",
"deps/gnatcoll-slim",
"deps/lml",
"deps/minirest",
"deps/optional",
"deps/semantic_versioning",
"deps/si_units",
"deps/simple_logging",
"deps/spdx",
"deps/stopwatch",
"deps/toml_slicer",
"deps/umwi",
"deps/uri-ada",
"deps/xmlezout"
);
for Project_Files use ("alr.gpr");
-- Set environment variables for dependencies
case Alire_Common.Host_Os is
when "freebsd" => for External ("GNATCOLL_OS") use "unix";
when "openbsd" => for External ("GNATCOLL_OS") use "unix";
when "linux" => for External ("GNATCOLL_OS") use "unix";
when "macos" => for External ("GNATCOLL_OS") use "osx";
when "windows" => for External ("GNATCOLL_OS") use "windows";
end case;
for External ("LIBRARY_TYPE") use "static";
for External ("BUILD") use "DEBUG";
-- The user must set ALIRE_OS before building. See the list of valid values
-- in alire_common.gpr
end Alr_Env;