Skip to content

Commit

Permalink
リソースファイルコンパイルオプションに「/c 65001」を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
kobake committed Jul 18, 2018
1 parent f9c361b commit a54b143
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion sakura/sakura.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,12 @@
<None Include="..\sakura_core\Funccode_x.hsrc" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\sakura_core\sakura_rc.rc" />
<ResourceCompile Include="..\sakura_core\sakura_rc.rc">
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/c 65001</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/c 65001</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/c 65001</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/c 65001</AdditionalOptions>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\sakura_core\apiwrap\StdApi.cpp" />
Expand Down
7 changes: 6 additions & 1 deletion sakura_lang_en_US/sakura_lang_en_US.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,12 @@
</Bscmake>
</ItemDefinitionGroup>
<ItemGroup>
<ResourceCompile Include="sakura_lang_rc.rc" />
<ResourceCompile Include="sakura_lang_rc.rc">
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/c 65001</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/c 65001</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/c 65001</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/c 65001</AdditionalOptions>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="sakura_lang.h" />
Expand Down

0 comments on commit a54b143

Please sign in to comment.