OMKOV cryptutils
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
268 B

  1. #!/usr/bin/env sh
  2. dir="$(dirname $(realpath "$0"))"
  3. cmake -S "${dir}" -B "${dir}/build" \
  4. -DCMAKE_BUILD_TYPE:STRING=Release \
  5. -DCMAKE_EXPORT_COMPILE_COMMANDS=1
  6. cmake --build "${dir}/build"
  7. mv -f "${dir}/build/compile_commands.json" "${dir}/compile_commands.json"