File: build_cstest.sh

package info (click to toggle)
capstone 5.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie, trixie-proposed-updates
  • size: 58,188 kB
  • sloc: ansic: 96,086; cpp: 67,489; cs: 29,510; python: 25,829; pascal: 24,412; java: 15,582; ml: 14,473; makefile: 1,275; sh: 479; ruby: 386
file content (9 lines) | stat: -rwxr-xr-x 261 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/sh

cd cmocka && mkdir build && cd build
if [ "$(uname)" = Darwin ]; then
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && make -j2 && sudo make install
else  # Linux
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make -j2 && sudo make install
fi
cd ../.. && make