add prompt for USE_UTF8_INSTEAD_OF_CODECVT macro in CMakeLists.txt.

This commit is contained in:
Charles Ruan 2020-09-12 20:41:02 +08:00
parent 2d86b34c40
commit 4bacd99255
1 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,9 @@ else()
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -std=c++11")
endif()
# Define USE_UTF8_INSTEAD_OF_CODECVT macro.
# add_compile_definitions(USE_UTF8_INSTEAD_OF_CODECVT)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${MY_CXX_WARNING_FLAGS}")
if(MSVC_VERSION)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Od /Zi /MP ${MY_CXX_WARNING_FLAGS}")