fixed build script
This commit is contained in:
6
build.sh
6
build.sh
@@ -14,8 +14,8 @@ libtool -static -o Build/lib/libOpenMesh.a Build/lib/libOpenMeshCore.a Build/lib
|
||||
cd ..
|
||||
|
||||
rm -rf build-headers
|
||||
rsync -av --include='*/' --include='*.hh' --exclude='*' src/OpenMesh/Core build-headers/
|
||||
rsync -av --include='*/' --include='*.hh' --exclude='*' src/OpenMesh/Tools build-headers/
|
||||
rsync -av --include='*/' --include='*.hh' --include='*.h' --exclude='*' src/OpenMesh build-headers
|
||||
cp module.modulemap build-headers
|
||||
|
||||
rm -rf build-xcframework
|
||||
mkdir build-xcframework
|
||||
@@ -24,4 +24,4 @@ mkdir build-xcframework
|
||||
xcodebuild -create-xcframework \
|
||||
-library build-macos/Build/lib/libOpenMesh.a -headers build-headers \
|
||||
-library build-ios/Build/lib/libOpenMesh.a -headers build-headers \
|
||||
-output build-xcframework/OpenMesh.xcframework
|
||||
-output build-xcframework/openmesh.xcframework
|
||||
Reference in New Issue
Block a user