File: examples

package info (click to toggle)
gprbuild 2018-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,248 kB
  • sloc: ada: 68,368; xml: 4,043; makefile: 423; sh: 365; ansic: 97; cpp: 89; fortran: 62
file content (16 lines) | stat: -rw-r--r-- 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -C -e -f -u
TOP_SOURCE_DIR="`pwd`"
cd "$ADTTMP"

cp -a "$TOP_SOURCE_DIR/examples" .
cd examples

make
make clean

# test running gprbuild with the default config file
gprbuild -v first_steps/c_main.gpr
gprclean first_steps/c_main.gpr
gprbuild -v first_steps/ada_main.gpr
gprclean first_steps/ada_main.gpr