tool now validates converted MSL with a test compilation. Project build scripts now build dylib and framework in separate build directories to enable MoltenVKShaderConverter to link to static library instead of dynamic library. Final Package structure remains the same. In Debug build, copy dylib dSYM files to Package. Package/Latest directory now links relative to local Debug or Release directory. Add install option to Makefile. MoltenVKShaderConverter tool now validates converted MSL with a test compilation. Clean up various MSL conversion and compilation error logging. MVKCommandResourceFactory wrap Metal library compile with autorelease pool. Build ExternalDependencies with same symbol hiding as MoltenVK to suppress visibility warnings. Update What's New document.
26 lines
680 B
Makefile
26 lines
680 B
Makefile
XCODE_PROJ := MoltenVKPackaging.xcodeproj
|
|
XCODE_SCHEME_BASE := MoltenVK Package
|
|
|
|
.PHONY: all
|
|
all:
|
|
xcodebuild -quiet -project "$(XCODE_PROJ)" -scheme "$(XCODE_SCHEME_BASE)" build
|
|
|
|
.PHONY: macos
|
|
macos:
|
|
xcodebuild -quiet -project "$(XCODE_PROJ)" -scheme "$(XCODE_SCHEME_BASE) (macOS only)" build
|
|
|
|
.PHONY: ios
|
|
ios:
|
|
xcodebuild -quiet -project "$(XCODE_PROJ)" -scheme "$(XCODE_SCHEME_BASE) (iOS only)" build
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
xcodebuild -quiet -project "$(XCODE_PROJ)" -scheme "$(XCODE_SCHEME_BASE)" clean
|
|
rm -rf Package
|
|
|
|
#Likely requires 'sudo make install'
|
|
.PHONY: install
|
|
install:
|
|
/bin/cp -a Package/Latest/MoltenVK/macOS/framework/MoltenVK.framework /Library/Frameworks/
|
|
|