Skip to content

Commit

Permalink
make sure to include generated SWIG binding sources to the compile items
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed Dec 29, 2022
1 parent 9d793d9 commit 1f50b36
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Smdn.Text.Ondulish/MeCab.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ SPDX-License-Identifier: MIT
Name="MeCabBindings_Build"
BeforeTargets="DispatchToInnerBuilds;BeforeBuild"
>
<!-- generate MeCab shared library and swig bindings -->
<!-- generate MeCab shared library and SWIG bindings -->
<Exec
Command="make mecab-bindings"
WorkingDirectory="$(MeCabMakefileDirectory)"
/>

<!-- make sure to include generated SWIG binding source files to the <Compile> items -->
<ItemGroup>
<Compile Update="$(MeCabBindingsDirectory)src\*.cs" />
</ItemGroup>
</Target>

<Target
Expand Down

0 comments on commit 1f50b36

Please sign in to comment.