build: Change from Unix Makefiles to Ninja and ignore .idea folder

This commit is contained in:
coderloff 2024-04-26 22:05:46 +04:00
parent 681dcebeea
commit 7ac61aca4b
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
build/
out/
.idea/

View File

@ -9,7 +9,7 @@ release:
cmake --build $(BUILD_DIR) -j8
debug:
cmake -S . -B $(BUILD_DIR) -DCMAKE_BUILD_TYPE=Debug
cmake -S . -B $(BUILD_DIR) -G Ninja -DCMAKE_BUILD_TYPE=Debug
cmake --build $(BUILD_DIR) -j8
clean: