mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-09-11 00:15:37 +03:00
13 lines
365 B
Bash
Executable File
13 lines
365 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# SPDX-FileCopyrightText: 2021 Mikhail Zolotukhin <mail@gikari.com>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
set -e
|
|
|
|
echo "🏗️ Building Bismuth..."
|
|
|
|
cmake -S "." -B "build" -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
|
cmake --build "build"
|
|
ln -sf "$PWD/build/compile_commands.json" "./compile_commands.json" # For LSP
|