116 行
5.3 KiB
XML
116 行
5.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0-windows10.0.19041.0</TargetFramework>
|
|
<UseWPF>true</UseWPF>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<Version>1.0.1</Version>
|
|
<Platforms>AnyCPU;x64</Platforms>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<HlslShader Include="Shaders\**\*.hlsl" />
|
|
<Resource Include="@(HlslShader->'%(RelativeDir)%(Filename).cso')" />
|
|
</ItemGroup>
|
|
|
|
<ItemDefinitionGroup>
|
|
<HlslShader>
|
|
<ShaderType>ps_5_0</ShaderType>
|
|
<EntryPoint>main</EntryPoint>
|
|
<ObjectFileOutput>%(RelativeDir)%(Filename).cso</ObjectFileOutput>
|
|
</HlslShader>
|
|
</ItemDefinitionGroup>
|
|
|
|
<Target Name="CompileHLSLShaders" BeforeTargets="BeforeBuild" Inputs="@(HlslShader)" Outputs="@(HlslShader->'%(ObjectFileOutput)')">
|
|
<Message Text="Compiling HLSL Shader: %(HlslShader.Identity) [Type: %(HlslShader.ShaderType), Entry: %(HlslShader.EntryPoint)]" Importance="high" />
|
|
<Error Text="fxc.exe not found at path: $(FxcPath)" Condition="!Exists('$(FxcPath)') AND '$(FxcPath)' != 'fxc.exe'" />
|
|
<Exec Command=""$(FxcPath)" /nologo /T %(HlslShader.ShaderType) /E %(HlslShader.EntryPoint) /Fo "%(HlslShader.ObjectFileOutput)" "%(HlslShader.FullPath)"" Condition="Exists('%(HlslShader.FullPath)')" />
|
|
</Target>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="SharpGen.Runtime">
|
|
<HintPath>$(YMM4DirPath)SharpGen.Runtime.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="SharpGen.Runtime.COM">
|
|
<HintPath>$(YMM4DirPath)SharpGen.Runtime.COM.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Vortice.Direct2D1">
|
|
<HintPath>$(YMM4DirPath)Vortice.Direct2D1.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Vortice.Direct3D11">
|
|
<HintPath>$(YMM4DirPath)Vortice.Direct3D11.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Vortice.DirectX">
|
|
<HintPath>$(YMM4DirPath)Vortice.DirectX.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Vortice.DXGI">
|
|
<HintPath>$(YMM4DirPath)Vortice.DXGI.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Vortice.Mathematics">
|
|
<HintPath>$(YMM4DirPath)Vortice.Mathematics.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="YukkuriMovieMaker">
|
|
<HintPath>$(YMM4DirPath)YukkuriMovieMaker.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="YukkuriMovieMaker.Controls">
|
|
<HintPath>$(YMM4DirPath)YukkuriMovieMaker.Controls.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="YukkuriMovieMaker.Plugin">
|
|
<HintPath>$(YMM4DirPath)YukkuriMovieMaker.Plugin.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Newtonsoft.Json">
|
|
<HintPath>$(YMM4DirPath)Newtonsoft.Json.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\YMM4-GitHubUpdateNotifier\GitHubUpdateNotifier\*.cs" LinkBase="GitHubUpdateNotifier" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.142" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
|
|
<_Parameter1>MultiscaleRetinex.Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
|
|
<_Parameter1>MultiscaleRetinex.Harness</_Parameter1>
|
|
</AssemblyAttribute>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ComputeSharp\src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" SetConfiguration="Configuration=$(Configuration)" SetPlatform="Platform=AnyCPU" GlobalPropertiesToRemove="SkipPluginDeploy" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
|
|
<ProjectReference Include="..\ComputeSharp\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" SetConfiguration="Configuration=$(Configuration)" SetPlatform="Platform=AnyCPU" GlobalPropertiesToRemove="SkipPluginDeploy" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
|
|
<ProjectReference Include="..\YukkuriMovieMaker.Generator\YukkuriMovieMaker.Generator\YukkuriMovieMaker.Generator.csproj" SetConfiguration="Configuration=$(Configuration)" SetPlatform="Platform=AnyCPU" GlobalPropertiesToRemove="SkipPluginDeploy" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
|
|
<AdditionalFiles Include="**/*.csv" />
|
|
</ItemGroup>
|
|
|
|
<Import Project="ComputeSharp.Reference.props" />
|
|
|
|
<ItemGroup>
|
|
<Folder Include="Shaders\" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(SkipPluginDeploy)' != 'true' AND '$(BuildingSolutionFile)' != 'true'">
|
|
<Exec Command="mkdir "$(YMM4DirPath)user\plugin\$(ProjectName)" > NUL 2>&1
copy "$(TargetPath)" "$(YMM4DirPath)user\plugin\$(ProjectName)\"
copy "$(TargetDir)MultiscaleRetinex.ComputeSharp.dll" "$(YMM4DirPath)user\plugin\$(ProjectName)\"
copy "$(TargetDir)MultiscaleRetinex.ComputeSharp.Core.dll" "$(YMM4DirPath)user\plugin\$(ProjectName)\"" />
|
|
</Target>
|
|
|
|
</Project>
|