2024-02-10 15:16:00 +00:00
|
|
|
.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
|
|
|
|
|
2024-02-16 21:47:37 +00:00
|
|
|
force-install: build
|
|
|
|
sudo cmake --install build
|
|
|
|
|
2024-02-10 15:16:00 +00:00
|
|
|
check:
|
|
|
|
@cppcheck --enable=all lib lang vm -q \
|
|
|
|
--suppress=missingIncludeSystem \
|
|
|
|
--suppress=unusedFunction \
|
|
|
|
--suppress=missingInclude \
|
|
|
|
--suppress=unmatchedSuppression
|