[build] rework platform/default directory and add -files.txt for vendored libs

This commit is contained in:
Konstantin Käfer
2018-12-13 18:45:29 +01:00
parent c2a4a8822c
commit 1d8235f5b8
117 changed files with 6463 additions and 758 deletions

View File

@@ -0,0 +1,17 @@
#include <mbgl/util/utf.hpp>
#include <boost/locale/encoding_utf.hpp>
namespace mbgl {
namespace util {
std::u16string convertUTF8ToUTF16(const std::string& str) {
return boost::locale::conv::utf_to_utf<char16_t>(str);
}
std::string convertUTF16ToUTF8(const std::u16string& str) {
return boost::locale::conv::utf_to_utf<char>(str);
}
} // namespace util
} // namespace mbgl