使用ai解决编码不一的问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user