matrixion/Makefile

34 lines
612 B
Makefile
Raw Normal View History

2017-08-13 19:17:04 +03:00
debug:
2017-05-02 04:22:33 +03:00
@cmake -DBUILD_TESTS=OFF -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
@cmake --build build
2017-04-06 04:07:53 +03:00
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
2017-11-05 18:56:02 +03:00
linux-appimage:
@./.ci/linux/deploy.sh
2017-11-06 18:20:48 +03:00
macos-app: release-debug
@./.ci/macos/deploy.sh
2017-08-13 19:17:04 +03:00
2017-11-06 18:20:48 +03:00
macos-app-install:
cp -Rf build/nheko.app /Applications
run:
@./build/nheko
2017-04-06 14:58:48 +03:00
2017-04-30 15:10:59 +03:00
lint:
2017-09-24 17:08:11 +03:00
@./.ci/format.sh
2017-05-02 04:22:33 +03:00
2017-04-06 04:07:53 +03:00
clean:
rm -rf build
2017-08-13 19:17:04 +03:00
.PHONY: build app dmg