File: test.sh

package info (click to toggle)
boost-ext-ut 2.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 620 kB
  • sloc: cpp: 6,773; makefile: 13; sh: 10
file content (7 lines) | stat: -rw-r--r-- 414 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh
# run this from project directory
rm -rf ./{build,build2,install_dir}
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DFETCHCONTENT_QUIET=OFF --log-level=DEBUG -DBOOST_UT_ENABLE_INSTALL=1
cmake --build ./build/ -j24 --verbose
cmake --install ./build/ --prefix ./install_dir
CMAKE_PREFIX_PATH=./install_dir/ cmake -Stest -Bbuild2 -DTEST_INSTALLED_VERSION=1 -DCPM_SOURCE_CACHE=~/.cache/cpm --log-level=DEBUG