File: cbuild.sh

package info (click to toggle)
tercpp 0.6.2%2Bsvn46-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 548 kB
  • ctags: 401
  • sloc: cpp: 4,279; makefile: 24; sh: 6
file content (9 lines) | stat: -rwxr-xr-x 223 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/bash
#mkdir -p bin include
install -d build
pushd build
#cmake -DCMAKE_INSTALL_PREFIX=$HOME/Programmation/TEMP -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
cmake -DCMAKE_INSTALL_PREFIX=$1  ..
make -j4 && \
make install
popd