-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMeshKernelNET.targets
More file actions
20 lines (16 loc) · 930 Bytes
/
MeshKernelNET.targets
File metadata and controls
20 lines (16 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="MeshKernelNetPostBuild" AfterTargets="Build">
<ItemGroup>
<_FilesToCopyMeshKernel Include="$(MSBuildThisFileDirectory)..\..\content\native\**\*"/>
</ItemGroup>
<Copy SourceFiles="@(_FilesToCopyMeshKernel)" DestinationFolder="$(OutDir)\win-x64\native\%(RecursiveDir)" SkipUnchangedFiles="true"/>
</Target>
<Target Name="MeshKernelNetClean" AfterTargets="Clean">
<ItemGroup>
<_OriginalFilesMeshKernel Include="$(MSBuildThisFileDirectory)..\..\content\native\**\*"/>
<_FilesToCleanIONetCDF Include="$(OutDir)\win-x64\native\%(_OriginalFilesMeshKernel.RecursiveDir)%(_OriginalFilesMeshKernel.FileName)%(_OriginalFilesMeshKernel.Extension)"/>
</ItemGroup>
<Delete Files="@(_FilesToCleanIONetCDF)"/>
</Target>
</Project>