nix-gcc-multi-issue/build.sh

16 lines
281 B
Bash
Raw Normal View History

2024-05-14 14:46:35 +00:00
#!/bin/sh
[ -z $CONFIG ] && config=Release || config="$CONFIG"
if [ "$SKIP_CMAKE" != "true" ]; then
cmake \
-S . \
-B build \
-G Ninja \
-DCMAKE_BUILD_TYPE=$config
fi
cmake \
--build build \
--config $config \
--parallel $(nproc)