Codechange: remove all u8 prefix in favour of compile-time option (#11807)

This commit is contained in:
Patric Stout
2024-01-16 22:33:53 +01:00
committed by GitHub
parent 6550682b49
commit 6860a86d45
7 changed files with 693 additions and 686 deletions

View File

@@ -16,6 +16,13 @@ macro(compile_flags)
endif()
endif()
# Our strings are UTF-8.
if(MSVC)
add_compile_options(/utf-8)
else()
add_compile_options(-finput-charset=utf-8)
endif()
# Add some -D flags for Debug builds. We cannot use add_definitions(), because
# it does not appear to support the $<> tags.
add_compile_options(