Skip to content

Commit

Permalink
build: set /utf-8 for source compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
fxliang committed Jan 21, 2025
1 parent 8b95887 commit 19509ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weasel.props.template
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>$(PreprocessorDefinitions);VERSION_MAJOR=$(VERSION_MAJOR);VERSION_MINOR=$(VERSION_MINOR);VERSION_PATCH=$(VERSION_PATCH);</PreprocessorDefinitions>
<AdditionalOptions>/utf-8</AdditionalOptions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>$(PreprocessorDefinitions);VERSION_MAJOR=$(VERSION_MAJOR);VERSION_MINOR=$(VERSION_MINOR);VERSION_PATCH=$(VERSION_PATCH);PRODUCT_VERSION=$(PRODUCT_VERSION);FILE_VERSION=$(FILE_VERSION);</PreprocessorDefinitions>
Expand Down

0 comments on commit 19509ab

Please sign in to comment.