File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ set(CMAKE_CXX_STANDARD 23)
66set (CMAKE_CXX_EXTENSIONS OFF )
77set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
88
9+ if (WIN32 AND CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
10+ add_compile_options (/clang:-Wno-character-conversion )
11+ # add_compile_options(/clang:-Wno-error)
12+ endif ()
13+
914if (MSVC )
1015 # force to use UTF-8
1116 add_compile_options ("$<$<C_COMPILER_ID :MSVC >:/utf -8>" )
@@ -30,4 +35,4 @@ add_subdirectory(core)
3035add_subdirectory (service )
3136add_subdirectory (infra )
3237add_subdirectory (app )
33- add_subdirectory (tests )
38+ add_subdirectory (tests )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ include(FetchContent)
33FetchContent_Declare (
44 googletest
55 GIT_REPOSITORY https://github.com/google/googletest.git
6- GIT_TAG v1.15.2
6+ GIT_TAG v1.17.0
77)
88set (gtest_force_shared_crt ON CACHE BOOL "" FORCE )
99FetchContent_MakeAvailable (googletest)
You can’t perform that action at this time.
0 commit comments