projectM-visualizer / projectm

projectM - Cross-platform Music Visualization Library. Open-source and Milkdrop-compatible.
https://discord.gg/mMrxAqaa3W
GNU Lesser General Public License v2.1
3.22k stars 364 forks source link

Use STL/Boost Filesystem API in Texture File Scanner #760

Closed kblaschke closed 5 months ago

kblaschke commented 5 months ago

We already use the filesystem API from Boost or STL/C++17 in the playlist library, so it was a clear thing we should also do this in our file scanner class that searches for textures.

Removed a lot of low-level compatibilty code, as the new API nicely hides away all the OS-specific implementation stuff.

kblaschke commented 5 months ago

The pkgconfig files don't contain the (required) boost filesystem library yet (was already the case for the playlist library). Have to remove other unsused stuff as well, so I'll postpone fixing pkgconfig unitl I do this cleanup job, as this rarely affects any builds, e.g. when supporting macOS 10.15 or earlier - and on macOS, using pkgconfig doesn't make much sense.