Kenneth Bruen
10 months ago
3 changed files with 34 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||||||
|
.PHONY: debug release run run-release macos clean |
||||||
|
|
||||||
|
debug: |
||||||
|
zig build
|
||||||
|
|
||||||
|
run: |
||||||
|
zig build run
|
||||||
|
|
||||||
|
release: |
||||||
|
zig build -Doptimize=ReleaseFast
|
||||||
|
|
||||||
|
run-release: |
||||||
|
zig build -Doptimize=ReleaseFast run
|
||||||
|
|
||||||
|
macos: release |
||||||
|
cp -r templates/macos-app/DepartureBoard.app zig-out/
|
||||||
|
cp zig-out/bin/raylib-test zig-out/DepartureBoard.app/Contents/MacOS/DepartureBoard
|
||||||
|
|
||||||
|
clean: |
||||||
|
rm -r zig-out
|
@ -0,0 +1,14 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
||||||
|
<plist version="1.0"> |
||||||
|
<dict> |
||||||
|
<key>CFBundleExecutable</key> |
||||||
|
<string>ExecutableFileName</string> |
||||||
|
<key>CFBundleIconFile</key> |
||||||
|
<string>AppIcon</string> |
||||||
|
<key>CFBundleIdentifier</key> |
||||||
|
<string>ro.dcdev.departure_board_zig</string> |
||||||
|
<key>CFBundleExecutable</key> |
||||||
|
<string>DepartureBoard</string> |
||||||
|
</dict> |
||||||
|
</plist> |
Loading…
Reference in new issue