Re: [tsc-devel] More on dependencies
Marvin Gülker |
Mon, 16 Oct 2017 19:18:38 UTC
Actually, I have one more suggestion. I'll do a shameless self-plug now,
you have been warned.
Dealing with Unicode pathnames in a cross-platform mannor is difficult,
mounting in the fact that it's impossible to open a file with a Unicode
pathname via std::{i,o}fstream with GCC on Windows[1]. I've some years
ago developed the Pathie library for this purpose[2] which focuses on
manipulating pathes using UTF-8 regardless of the platform. I'm
currently cutting off a few rough edges (and relicensed the thing as
BSD-2-clause) and once I'm done with that (shouldn't be too long), I'll
release the result as version 0.1.0. The library should be able to do
most of what boost::filesystem can do, but it does not depend on
Boost. If possible, I'd like to avoid depending on Boost.
Pathie again has no dependencies and I'd like to just compile it as part
of TSC until some Linux distribution packager complains.
Marvin
[1]: https://stackoverflow.com/questions/821873 -- though I agree Pathie
has no silver bullet solution to this either.
[2]: https://github.com/Quintus/pathie-cpp
--
Blog: https://www.guelkerdev.de
PGP/GPG ID: F1D8799FBCC8BC4F