Blender Git Loki

Git Commits -> Revision 5d1fa2e

August 31, 2021, 14:49 (GMT)
Dependencies: Drop-in replacement for std::filesystem (in extern/)

Introduces the ghc::filesystem library as a (leight weight, header
only) drop-in replacement for std::filesystem. The latter can't be
used on the minimum macOS version we support. Once that changes, we can
switch to using std::filesystem directly.

Part of T90379.

* Add ghc::filesystem to extern/ as platform compatible replacement for
std::filesystem.
* Add Windows specific code to avoid issues with including Windows.h.
* Add blender::bli::filesystem as alias for ghc::filesystem. That should make
the ghc -> std transition easier later on since we can just change this
alias. Also makes it easy to switch between the two at compile time.

Commit Details:

Full Hash: 5d1fa2e67a9308822a425c8a86340c2276baba75
Parent Commit: 37943b0
Lines Changed: +6024, -0

3 Added Paths:

/extern/ghc_filesystem/filesystem.hpp (+5944, -0) (View)
/extern/ghc_filesystem/README.blender (+5, -0) (View)
/source/blender/blenlib/BLI_filesystem.hh (+74, -0) (View)

1 Modified Path:

/source/blender/blenlib/CMakeLists.txt (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021