-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathNoiseEngine.Imports.xml
36 lines (29 loc) · 1.46 KB
/
NoiseEngine.Imports.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<Project>
<Import Project="$(MSBuildThisFileDirectory)/NoiseEngine.Shared.xml" />
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)/NoiseEngine/NoiseEngine.csproj" />
<ProjectReference
Include="$(MSBuildThisFileDirectory)/NoiseEngine.Generator/NoiseEngine.Generator.csproj"
OutputItemType="Analyzer" ReferenceOutputAssembly="false"
/>
</ItemGroup>
<Target Name="CompileTestsNative" BeforeTargets="AfterBuild">
<PropertyGroup>
<NEOutput>$(MSBuildThisFileDirectory)NoiseEngine/$(OutputPath)</NEOutput>
<!-- Use NoiseEngine's .NET version when currently used .NET is not exists, this can occur when project has
another .NET version than NoiseEngine -->
<NEOutput
Condition="!Exists('$(NoiseEngineFiles)NoiseEngine.dll')"
>$(MSBuildThisFileDirectory)NoiseEngine/bin/Debug/$(NETargetFramework)/</NEOutput>
</PropertyGroup>
<Message Text=" MSBuildProjectExtension = $(NEOutput)$(OSLibPrefix)NoiseEngine.Native.$(OSLibExt)" Importance="high" />
<Copy
SourceFiles="$(NEOutput)$(OSLibPrefix)NoiseEngine.Native.$(OSLibExt)"
DestinationFiles="$(OutputPath)/$(OSLibPrefix)NoiseEngine.Native.$(OSLibExt)"
/>
<Copy
SourceFiles="$(NEOutput)System.nesil"
DestinationFiles="$(OutputPath)/Resources/Shaders/System.nesil"
/>
</Target>
</Project>