switch to clang++ and add bear to shell

This commit is contained in:
jacekpoz 2024-07-16 09:39:46 +02:00
parent 24bb5e14ec
commit 540d9faee4
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
2 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
CXX = g++
CXX = clang++
CXXFLAGS = -std=c++20 -O3 -Wall -Wextra -Wpedantic
LDFLAGS = -lsfml-graphics -lsfml-window -lsfml-system

View file

@ -1,19 +1,21 @@
{
mkShell,
gcc,
clang,
gnumake,
clang-tools,
sfml,
bear,
...
}:
mkShell {
name = "osu++";
nativeBuildInputs = [
gcc
clang
gnumake
# for clang-format
clang-tools
bear
];
buildInputs = [