mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 14:12:39 +00:00
Set default to utf-8 for MSVC
This commit is contained in:
parent
d1e7837422
commit
7b694ebeb4
@ -1,7 +1,7 @@
|
|||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*.{h,cpp,hpp}]
|
[*.{h,cpp,hpp}]
|
||||||
charset = utf-8-bom
|
charset = utf-8
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
@ -64,7 +64,7 @@ set(CMAKE_C_FLAGS -w)
|
|||||||
set(LLVM_ENABLE_WARNINGS OFF CACHE BOOL "")
|
set(LLVM_ENABLE_WARNINGS OFF CACHE BOOL "")
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_compile_options(/wd4530) # C++ exception handler used, but unwind semantics are not enabled
|
add_compile_options(/wd4530 /utf-8) # C++ exception handler used, but unwind semantics are not enabled
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(Vulkan EXCLUDE_FROM_ALL)
|
add_subdirectory(Vulkan EXCLUDE_FROM_ALL)
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<ExceptionHandling>false</ExceptionHandling>
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
<AdditionalOptions>/Zc:throwingNew /constexpr:steps16777216 %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/utf-8 /Zc:throwingNew /constexpr:steps16777216 %(AdditionalOptions)</AdditionalOptions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalDependencies>xxhash.lib;ws2_32.lib;Iphlpapi.lib;Bcrypt.lib;avcodec.lib;avformat.lib;avutil.lib;swresample.lib;swscale.lib</AdditionalDependencies>
|
<AdditionalDependencies>xxhash.lib;ws2_32.lib;Iphlpapi.lib;Bcrypt.lib;avcodec.lib;avformat.lib;avutil.lib;swresample.lib;swscale.lib</AdditionalDependencies>
|
||||||
|
Loading…
Reference in New Issue
Block a user