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:
Setting up Conan requires a bit of work; we'll want to document the details further in the README; see entries.
There's cleanup of the PBR material conversion code here that should be split out.
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: