使用ai解决编码不一的问题

This commit is contained in:
2026-02-20 16:29:32 +08:00
parent 767169d647
commit b71f601088
3 changed files with 35 additions and 0 deletions

View File

@@ -45,6 +45,10 @@ add_definitions(-D_UNICODE)
add_definitions(-DUNICODE)
add_definitions(-DWIN32_LEAN_AND_MEAN)
# Force UTF-8 encoding for source files to avoid encoding issues
# when editing in VSCode and building in VS2022
add_compile_options(/utf-8)
# Set runtime library: MTD for Debug, MT for Release
# This ensures static linking to the C/C++ runtime
set_target_properties(EzUI PROPERTIES