gux/Makefile

22 lines
449 B
Makefile

.PHONY: build tests install
build:
cmake -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug
cmake --build build
tests: build
build/lang/gux-lang-tests
install: check tests
sudo cmake --install build
force-install: build
sudo cmake --install build
check:
@cppcheck --enable=all lib lang vm -q \
--suppress=missingIncludeSystem \
--suppress=unusedFunction \
--suppress=missingInclude \
--suppress=unmatchedSuppression