google / draco

Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
https://google.github.io/draco/
Apache License 2.0
6.37k stars 955 forks source link

macos toolchain #952

Open ptc-eparodi opened 1 year ago

ptc-eparodi commented 1 year ago

It looks like macos toolchain is missing. Would it be possible to add x86_64-macos.cmake?

ryandesign commented 2 months ago

What is a toolchain file needed for?

If it is needed for macOS for x86_64, isn't it also needed for macOS for arm64?

ptc-eparodi commented 2 months ago

Thanks for looking into this. It has been a while, I was trying to build draco on macOS and I noticed that there weren't toolchain files for iOS, e.g. x86_64-ios.cmake but the corresponding one for macOS was missing. And yes, I suspect there should be an arm version as well.