aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bd58185..0baf6ad 100644
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,10 @@ LUA_PREFIX = ""
build-source:
@mkdir -p build
@cd build/ && cmake .. \
+ -G Ninja \
-DNULL_LUA_PREFIX="${LUA_PREFIX}" \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
- && make -j8
+ && cmake --build . -j10
dev-setup:
@cp build/compile_commands.json .
@@ -27,6 +28,7 @@ test: build-source
cd build && QT_QPA_PLATFORM=offscreen ctest -V
clean:
+ ccache -C || true
rm -rf build/
rm -f compile_commands.json
@@ -41,3 +43,6 @@ check:
clang-format -i ./src/**/*.{hpp,cpp}
clang-tidy --config-file=.clang-tidy ./src/**/*.{hpp,cpp}
+# appimage:
+# nix bundle --bundler github:ralismark/nix-appimage
+