File: link-with-shared

package info (click to toggle)
libalog 0.6.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 816 kB
  • sloc: ada: 4,353; makefile: 135; sh: 18; ansic: 5
file content (21 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
set -C -e -f -u
cd "$AUTOPKGTEST_TMP"

cat > a.gpr <<EOF
with "alog";
project A is
   for Main use ("main.adb");
end A;
EOF
cat > main.adb <<EOF
with Alog;
procedure Main is
   Level : constant Alog.Log_Level := Alog.Info;
begin
   null;
end Main;
EOF

gprbuild -v a.gpr
./main