Skip to content

Commit

Permalink
include tbb12.dll in native folder
Browse files Browse the repository at this point in the history
  • Loading branch information
weianweigan committed Aug 25, 2024
1 parent d0fb39e commit 94bd588
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,18 @@ jobs:
cmake . -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DMANIFOLD_DEBUG=ON -DMANIFOLD_PAR=TBB -DCMAKE_PREFIX_PATH="$path/vcpkg/installed/x64-windows/share" -A x64 -B build
cd build
cmake --build . --target ALL_BUILD --config Release
- name: Copy to bindary
shell: powershell
run: |
robocopy build\bin\Release bindings\csharp\ManifoldNET\runtimes\win-x64\binary\Release /NFL /NDL /R:0 /W:0; exit 0
- name: Copy tbb12 binary to Release_MeshExport
shell: powershell
run: |
dir bindings\csharp\ManifoldNET\runtimes\win-x64\binary\Release
robocopy vcpkg\installed\x64-windows\bin bindings\csharp\ManifoldNET\runtimes\win-x64\binary\Release /NFL /NDL /R:0 /W:0; exit 0
# Build release with mesh export option.
- name: Build with mesh export on
shell: powershell
Expand All @@ -51,10 +58,12 @@ jobs:
cmake . -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DMANIFOLD_DEBUG=ON -DMANIFOLD_PAR=TBB -DMANIFOLD_EXPORT=ON -DCMAKE_PREFIX_PATH="$path/vcpkg/installed/x64-windows/share" -A x64 -B build
cd build
cmake --build . --target ALL_BUILD --config Release
- name: Copy to bindary
shell: powershell
run: |
robocopy build\bin\Release bindings\csharp\ManifoldNET\runtimes\win-x64\binary\Release_MeshExport /NFL /NDL /R:0 /W:0; exit 0
- name: Copy assimp binary to Release_MeshExport
shell: powershell
run: |
Expand Down
4 changes: 4 additions & 0 deletions bindings/csharp/ManifoldNET/ManifoldNET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
<PackagePath>runtimes/win-x64/native</PackagePath>
<Pack>true</Pack>
</Content>
<Content Include="runtimes/win-x64/native/tbb12.dll">
<PackagePath>runtimes/win-x64/native</PackagePath>
<Pack>true</Pack>
</Content>
</ItemGroup>

<ItemGroup Condition="$(Configuration.Contains('MeshExport'))">
Expand Down

0 comments on commit 94bd588

Please sign in to comment.