2017-08-13 18:17:04 +02:00
|
|
|
|
2017-04-06 18:56:33 +02:00
|
|
|
debug:
|
2017-12-04 17:41:19 +01:00
|
|
|
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
|
2017-04-11 16:45:47 +02:00
|
|
|
@cmake --build build
|
2017-04-06 03:07:53 +02:00
|
|
|
|
2017-04-06 18:56:33 +02:00
|
|
|
release-debug:
|
2017-12-04 17:41:19 +01:00
|
|
|
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
2017-04-11 16:45:47 +02:00
|
|
|
@cmake --build build
|
|
|
|
|
2017-12-07 22:07:30 +01:00
|
|
|
release:
|
|
|
|
@cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
|
|
@cmake --build build
|
|
|
|
|
2017-11-05 16:56:02 +01:00
|
|
|
linux-appimage:
|
|
|
|
@./.ci/linux/deploy.sh
|
|
|
|
|
2017-11-26 20:32:18 +01:00
|
|
|
linux-install:
|
|
|
|
cp -f nheko*.AppImage ~/.local/bin
|
|
|
|
|
2017-11-06 16:20:48 +01:00
|
|
|
macos-app: release-debug
|
|
|
|
@./.ci/macos/deploy.sh
|
2017-08-13 18:17:04 +02:00
|
|
|
|
2017-11-06 16:20:48 +01:00
|
|
|
macos-app-install:
|
|
|
|
cp -Rf build/nheko.app /Applications
|
2017-07-01 11:46:58 +02:00
|
|
|
|
2017-04-11 16:45:47 +02:00
|
|
|
run:
|
|
|
|
@./build/nheko
|
2017-04-06 13:58:48 +02:00
|
|
|
|
2017-04-30 14:10:59 +02:00
|
|
|
lint:
|
2017-09-24 16:08:11 +02:00
|
|
|
@./.ci/format.sh
|
2017-05-02 03:22:33 +02:00
|
|
|
|
2017-12-14 00:23:17 +01:00
|
|
|
image:
|
|
|
|
docker build -t nheko-app-image .
|
|
|
|
|
|
|
|
docker-app-image: image
|
|
|
|
docker run \
|
|
|
|
-e CXX=g++-7 \
|
|
|
|
-e CC=gcc-7 \
|
|
|
|
-v `pwd`:/build nheko-app-image make release
|
|
|
|
docker run \
|
|
|
|
--privileged \
|
|
|
|
-v `pwd`:/build nheko-app-image make linux-appimage
|
|
|
|
|
2017-04-06 03:07:53 +02:00
|
|
|
clean:
|
|
|
|
rm -rf build
|
|
|
|
|
2017-08-13 18:17:04 +02:00
|
|
|
.PHONY: build app dmg
|