You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nheko/Makefile

52 lines
1.1 KiB

debug:
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1
@cmake --build build
@cp build/compile_commands.json .
ci:
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
@cmake --build build
release:
@cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
@cmake --build build
linux-install:
cp -f nheko*.AppImage ~/.local/bin
7 years ago
macos-app-install:
cp -Rf build/nheko.app /Applications
8 years ago
lint:
7 years ago
./.ci/format.sh
image:
docker build -t nheko-app-image .
debian-image:
docker build -f Dockerfile.debian -t nheko-debian-appimage .
7 years ago
linux-deploy:
./.ci/linux/deploy.sh
./.ci/linux/create-packages.sh
macos-deploy:
./.ci/macos/deploy.sh
7 years ago
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 \
7 years ago
-v `pwd`:/build nheko-app-image make linux-deploy
docker-debian-appimage: debian-image
docker run -v `pwd`:/build nheko-debian-appimage make release
docker run --privileged -v `pwd`:/build nheko-debian-appimage make linux-deploy
clean:
7 years ago
rm -rf build