diff --git a/Makefile b/Makefile index feea3ba..704f7be 100644 --- a/Makefile +++ b/Makefile @@ -162,8 +162,10 @@ clean: cargo clean package: version-debug version-release + cargo build --manifest-path libportability-icd/Cargo.toml --features $(BACKEND) + cargo build --manifest-path libportability-icd/Cargo.toml --features $(BACKEND) --release echo "$(GIT_TAG_FULL)" > commit-sha - cd target && zip ../gfx-portability-$(OS_NAME)-$(GIT_TAG).zip */libportability.$(LIB_EXTENSION) ../commit-sha + zip gfx-portability-$(OS_NAME)-$(GIT_TAG).zip target/*/libportability*.$(LIB_EXTENSION) libportability-icd/portability-$(OS_NAME)-*.json commit-sha target/debug/libvulkan.$(LIB_EXTENSION): cd target/debug && ln -sf libportability.$(LIB_EXTENSION) libvulkan.$(LIB_EXTENSION) diff --git a/libportability-icd/portability-macos-debug.json b/libportability-icd/portability-macos-debug.json new file mode 100644 index 0000000..e5fea35 --- /dev/null +++ b/libportability-icd/portability-macos-debug.json @@ -0,0 +1,7 @@ +{ + "file_format_version": "1.0.0", + "ICD": { + "library_path": "../target/debug/libportability_icd.dylib", + "api_version": "1.0.0" + } +} diff --git a/libportability-icd/portability_debug.json b/libportability-icd/portability-win-debug.json similarity index 100% rename from libportability-icd/portability_debug.json rename to libportability-icd/portability-win-debug.json