fix: fix utf8 output again.
- I write a wrong CMakeLists.txt so the generated utf8 string is wrong. - Fixed in CMakeLists.txt. But still remove all utf8 string literal heading becasue it is not compatible with my code under C++ 20 standard.
This commit is contained in:
parent
e1e8a33c50
commit
7044a0cff2
|
@ -5,7 +5,7 @@ add_executable(Testbench
|
||||||
# Add YYCC as its library
|
# Add YYCC as its library
|
||||||
target_include_directories(Testbench
|
target_include_directories(Testbench
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
YYCCommonplace
|
||||||
)
|
)
|
||||||
target_link_libraries(Testbench
|
target_link_libraries(Testbench
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
@ -19,7 +19,7 @@ PROPERTIES
|
||||||
CXX_EXTENSION OFF
|
CXX_EXTENSION OFF
|
||||||
)
|
)
|
||||||
# Order build as UTF-8 in MSVC
|
# Order build as UTF-8 in MSVC
|
||||||
target_compile_options(YYCCommonplace
|
target_compile_options(Testbench
|
||||||
PRIVATE
|
PRIVATE
|
||||||
$<$<CXX_COMPILER_ID:MSVC>:/utf-8>
|
$<$<CXX_COMPILER_ID:MSVC>:/utf-8>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user