gmod-lcpu/build_module.sh

17 lines
261 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
2023-07-19 03:19:39 -04:00
[[ ! -d '../../lua/bin' ]] && {
2023-07-19 03:18:34 -04:00
mkdir -p ../../lua/bin
}
cp -v build/projects/lcpu/*.dll ../../lua/bin