Skip to content

Commit

Permalink
Distribute wgpu.h in include/webgpu (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel authored Sep 19, 2024
1 parent fad19f5 commit 58c8356
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ package: lib-native lib-native-release
rm -r -f dist/$$ARCHIVEDIR; \
rm -f dist/$$ARCHIVEFILE; \
mkdir -p dist/$$ARCHIVEDIR/include/webgpu; \
mkdir -p dist/$$ARCHIVEDIR/include/wgpu; \
mkdir -p dist/$$ARCHIVEDIR/lib; \
cp ./dist/wgpu-native-git-tag dist/$$ARCHIVEDIR; \
cp ./ffi/webgpu-headers/webgpu.h dist/$$ARCHIVEDIR/include/webgpu; \
cp ./ffi/wgpu.h dist/$$ARCHIVEDIR/include/wgpu; \
cp ./ffi/wgpu.h dist/$$ARCHIVEDIR/include/webgpu; \
if [ $(OS_NAME) = linux ]; then \
cp ./$$LIBDIR/libwgpu_native.so dist/$$ARCHIVEDIR/lib; \
cp ./$$LIBDIR/libwgpu_native.a dist/$$ARCHIVEDIR/lib; \
Expand Down

0 comments on commit 58c8356

Please sign in to comment.