forked from alire-project/alire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alr_env.gpr
50 lines (40 loc) · 1.75 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
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/dirty_booleans",
"deps/diskflags",
"deps/gnatcoll-slim",
"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 "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;