matrixion/Makefile
2017-11-26 21:32:18 +02:00

36 lines
664 B
Makefile

debug:
@cmake -DBUILD_TESTS=OFF -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
@cmake --build build
release-debug:
@cmake -DBUILD_TESTS=OFF -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
@cmake --build build
test:
@cmake -DBUILD_TESTS=ON -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
@cmake --build build
@cd build && GTEST_COLOR=1 ctest --verbose
linux-appimage:
@./.ci/linux/deploy.sh
linux-install:
cp -f nheko*.AppImage ~/.local/bin
macos-app: release-debug
@./.ci/macos/deploy.sh
macos-app-install:
cp -Rf build/nheko.app /Applications
run:
@./build/nheko
lint:
@./.ci/format.sh
clean:
rm -rf build
.PHONY: build app dmg