Skip to content

Commit

Permalink
refactor(charset): utf-8
Browse files Browse the repository at this point in the history
将内部编码重构为utf-8
修复AttrObject派生类错误判空的问题
  • Loading branch information
mystringEmpty committed Aug 24, 2024
1 parent 340f506 commit 6192752
Show file tree
Hide file tree
Showing 80 changed files with 17,019 additions and 16,889 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_SHARED_LINKER_FLAGS "-static-libstdc++ ${CMAKE_SHARED_LINKER_FLAGS}")
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
set(CMAKE_CXX_FLAGS "/source-charset:GBK /execution-charset:GBK ${CMAKE_CXX_FLAGS} /EHsc-")
set(CMAKE_CXX_FLAGS "/source-charset:utf-8 /execution-charset:utf-8 ${CMAKE_CXX_FLAGS} /EHsc-")
string(REGEX MATCH static IS_STATIC ${VCPKG_TARGET_TRIPLET})
if(IS_STATIC STREQUAL static)
set_property(TARGET ${PROJECT_NAME} PROPERTY
Expand Down
Loading

0 comments on commit 6192752

Please sign in to comment.