feat(makefile): added no nuitka option for cpp-compile task

This commit is contained in:
2026-10-25 16:01:40 +01:00
parent 856c78c380
commit 9ad94f1e3e
+3 -4
View File
@@ -1,4 +1,5 @@
BUILD ?= cmake -B build -G Ninja BUILD ?= cmake -B build -G Ninja
NONUITKA ?= cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_MODULES="plugin;shell;m3shapes"
NINJA ?= ninja -C build NINJA ?= ninja -C build
COMPILE ?= $(BUILD) && $(NINJA) COMPILE ?= $(BUILD) && $(NINJA)
INSTALL ?= $(BUILD) && $(NINJA) && sudo ninja -C build install INSTALL ?= $(BUILD) && $(NINJA) && sudo ninja -C build install
@@ -17,7 +18,7 @@ help:
@echo "compile cmake builds and compiles C++ code" @echo "compile cmake builds and compiles C++ code"
@echo "cpp-fmt format C++ code with clang-format" @echo "cpp-fmt format C++ code with clang-format"
@echo "cpp-lint lint check C++ code with clang-tidy" @echo "cpp-lint lint check C++ code with clang-tidy"
@echo "cpp-compile alias to make compile" @echo "cpp-compile similar to make compile, but excludes Nuitka from compiling python"
@echo "py-fmt format Python code with ruff" @echo "py-fmt format Python code with ruff"
@echo "py-lint lint check Python code with ruff" @echo "py-lint lint check Python code with ruff"
@echo "py-check lsp and typecheck all Python code using Basedpyright" @echo "py-check lsp and typecheck all Python code using Basedpyright"
@@ -41,8 +42,6 @@ install:
compile: compile:
$(COMPILE) $(COMPILE)
# TODO: Anything below is not ready
# C++ # C++
cpp-fmt: cpp-fmt:
$(CPPFMT) $(CPPFMT)
@@ -51,7 +50,7 @@ cpp-lint:
$(CPPLINT) $(CPPLINT)
cpp-compile: cpp-compile:
$(COMPILE) $(NONUITKA)
# Python # Python
py-fmt: py-fmt: