gmod-lcpu/build_module.sh

17 lines
262 B
Bash
Raw Normal View History

2023-07-19 03:18:34 -04:00
#!/bin/bash
# Build the LCPU addon for the reccomended environment
set -x
cmake -Wno-dev -S native -B build -DCMAKE_BUILD_TYPE=Release
ninja -C build
[[ ! -d ''../../lua/bin' ]] && {
mkdir -p ../../lua/bin
}
cp -v build/projects/lcpu/*.dll ../../lua/bin