cryptutils

Cryptographic Software Utilities
git clone http://git.omkov.net/cryptutils
Log | Tree | Refs | README | LICENCE | Download

cryptutils/BuildUNIX.sh (11 lines, 268 B) -rwxr-xr-x blame download

012345678910
#!/usr/bin/env sh
dir="$(dirname $(realpath "$0"))"

cmake -S "${dir}" -B "${dir}/build" \
	-DCMAKE_BUILD_TYPE:STRING=Release \
	-DCMAKE_EXPORT_COMPILE_COMMANDS=1

cmake --build "${dir}/build"

mv -f "${dir}/build/compile_commands.json" "${dir}/compile_commands.json"