facebookincubator / FBX2glTF

A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.
Other
2.1k stars 332 forks source link

Embrace Conan, use it to grab boost::filesystem. #180

Closed zellski closed 5 years ago

zellski commented 5 years ago

With this, we are able to get rid of all the increasingly broken file system utility code, and trust boost::filesystem to handle all the cross-platform complexity.

The first version of this PR centred around C++17 & std::filesystem, but support remains too elusive; it seems works out of the box in Visual Studio (especially 2019), but is entirely missing from the Mac clang, and even with GCC 8.0 it requires an explicit '-l c++fs'.

Luckily the std:: version is almost exactly the boost:: version (not surprising) so when the world's caught up, we can ditch Boost and go all stdlib.

WIP: