File: build-examples

package info (click to toggle)
lager 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,904 kB
  • sloc: cpp: 10,868; javascript: 10,433; makefile: 214; python: 100; sh: 98
file content (13 lines) | stat: -rwxr-xr-x 256 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e
set -x

SRCDIR=$(dirname $(realpath $0))

cd $AUTOPKGTEST_TMP
cp "$SRCDIR/CMakeLists.txt" .
ln -s /usr/share/doc/liblager-dev/examples .
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON ..
make examples