26 lines
351 B
Bash
Raw Normal View History

2024-02-04 00:36:58 -05:00
#!/bin/sh
set -e
# Create Output Directory
ROOT="$(pwd)"
2024-02-04 00:43:25 -05:00
OUT="${ROOT}/out"
2024-02-04 00:36:58 -05:00
rm -rf "${OUT}"
mkdir -p "${OUT}"
# Build
2024-02-04 00:43:25 -05:00
build() {
cd "${ROOT}/$1"
2024-02-04 00:36:58 -05:00
# Build
rm -rf build
mkdir build
cd build
cmake -GNinja ..
cmake --build .
# Copy Result
cp lib*.so "${OUT}"
2024-02-04 00:43:25 -05:00
}
build chat-commands
build expanded-creative
build recipes