20 lines
303 B
Bash
Executable File
20 lines
303 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
# Create build directory
|
|
mkdir -p build
|
|
cd build
|
|
|
|
# Configure
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
# Build
|
|
make -j$(nproc)
|
|
|
|
echo ""
|
|
echo "Build successful!"
|
|
echo "To install, run: cd build && sudo make install"
|
|
echo "Then restart Dolphin: dolphin --replace &"
|