switch to clang++ and add bear to shell
This commit is contained in:
parent
24bb5e14ec
commit
540d9faee4
2 changed files with 5 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
CXX = g++
|
CXX = clang++
|
||||||
CXXFLAGS = -std=c++20 -O3 -Wall -Wextra -Wpedantic
|
CXXFLAGS = -std=c++20 -O3 -Wall -Wextra -Wpedantic
|
||||||
LDFLAGS = -lsfml-graphics -lsfml-window -lsfml-system
|
LDFLAGS = -lsfml-graphics -lsfml-window -lsfml-system
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,21 @@
|
||||||
{
|
{
|
||||||
mkShell,
|
mkShell,
|
||||||
gcc,
|
clang,
|
||||||
gnumake,
|
gnumake,
|
||||||
clang-tools,
|
clang-tools,
|
||||||
sfml,
|
sfml,
|
||||||
|
bear,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
mkShell {
|
mkShell {
|
||||||
name = "osu++";
|
name = "osu++";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gcc
|
clang
|
||||||
gnumake
|
gnumake
|
||||||
# for clang-format
|
# for clang-format
|
||||||
clang-tools
|
clang-tools
|
||||||
|
bear
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue