Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (31 loc) · 1.66 KB
/
Copy pathMakefile
File metadata and controls
46 lines (31 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SHELL := /bin/zsh
.DEFAULT_GOAL := help
REPO_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
.PHONY: help doctor doctor-runtime doctor-dxmt check test build app runtime-build runtime-test dxmt-verify dxmt-test release
help: ## Show the supported contributor commands.
@awk 'BEGIN {FS = ":.*## "; print "TrailBridge VR contributor commands:"} /^[a-zA-Z0-9_-]+:.*## / {printf " %-16s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
doctor: ## Check the core macOS and Swift development environment.
@scripts/doctor.zsh --core
doctor-runtime: ## Check prerequisites for cross-building the OpenXR runtime.
@scripts/doctor.zsh --runtime
doctor-dxmt: ## Check the complete Wine/DXMT development environment.
@scripts/doctor.zsh --dxmt
check: ## Run the same repository and Swift checks used by CI.
@scripts/check.zsh
test: ## Run all deterministic Swift tests.
@swift test --package-path streamer
build: ## Build all native executables for Apple Silicon.
@swift build -c release --arch arm64 --package-path streamer
app: build ## Run the management app from source.
@swift run -c release --skip-build --arch arm64 --package-path streamer BasaltVR
runtime-build: ## Cross-build the Windows OpenXR runtime without running Wine.
@cmake -S runtime --preset mingw-release
@cmake --build runtime/build --parallel
runtime-test: ## Run the Wine loader and ABI smoke suite.
@runtime/scripts/test-wine.zsh
dxmt-verify: ## Inspect built DXMT artifacts without requiring physical Metal access.
@runtime/scripts/verify-dxmt-artifacts.zsh
dxmt-test: ## Run the complete pinned Wine/DXMT graphics suite.
@runtime/scripts/test-dxmt.zsh
release: ## Build the TrailBridge VR DMG
@packaging/build-dmg.zsh