Skip to content

Commit d21ecb3

Browse files
committed
Add build options
1 parent b05756f commit d21ecb3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

WeChatFerry/sdk/SDK.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
<ConformanceMode>true</ConformanceMode>
7878
<PrecompiledHeader>Use</PrecompiledHeader>
7979
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
80+
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
8081
</ClCompile>
8182
<Link>
8283
<SubSystem>Windows</SubSystem>
@@ -93,6 +94,7 @@
9394
<ConformanceMode>true</ConformanceMode>
9495
<PrecompiledHeader>Use</PrecompiledHeader>
9596
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
97+
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
9698
</ClCompile>
9799
<Link>
98100
<SubSystem>Windows</SubSystem>

WeChatFerry/spy/Spy.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<FunctionLevelLinking>true</FunctionLevelLinking>
9797
<PrecompiledHeaderOutputFile />
9898
<DisableSpecificWarnings>4251;4731;4819</DisableSpecificWarnings>
99-
<AdditionalOptions>/EHa %(AdditionalOptions)</AdditionalOptions>
99+
<AdditionalOptions>/EHa /utf-8 %(AdditionalOptions)</AdditionalOptions>
100100
</ClCompile>
101101
<Link>
102102
<SubSystem>Windows</SubSystem>
@@ -145,7 +145,7 @@ xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\clients\python\wcferry</Com
145145
<PrecompiledHeaderOutputFile>
146146
</PrecompiledHeaderOutputFile>
147147
<DisableSpecificWarnings>4251;4731;4819</DisableSpecificWarnings>
148-
<AdditionalOptions>/EHa %(AdditionalOptions)</AdditionalOptions>
148+
<AdditionalOptions>/EHa /utf-8 %(AdditionalOptions)</AdditionalOptions>
149149
</ClCompile>
150150
<Link>
151151
<SubSystem>Windows</SubSystem>

0 commit comments

Comments
 (0)