File: build-examples

package info (click to toggle)
immer 0.8.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,132 kB
  • sloc: cpp: 27,932; python: 534; makefile: 227; lisp: 175; sh: 114; javascript: 64
file content (14 lines) | stat: -rwxr-xr-x 265 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e
set -x

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

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