From 3adf7341d0346b75d14019ca46d683f7e0a1875b Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 27 Aug 2022 00:37:40 +0200 Subject: [PATCH] Use wildcards to import T4 files in .csproj --- .../ComputeSharp.Core.csproj | 205 +----------------- 1 file changed, 7 insertions(+), 198 deletions(-) diff --git a/src/ComputeSharp.Core/ComputeSharp.Core.csproj b/src/ComputeSharp.Core/ComputeSharp.Core.csproj index 23c797b5..f95c4771 100644 --- a/src/ComputeSharp.Core/ComputeSharp.Core.csproj +++ b/src/ComputeSharp.Core/ComputeSharp.Core.csproj @@ -22,208 +22,17 @@ + - + + %(Filename).g.cs + TextTemplatingFileGenerator + + + $([System.IO.Path]::GetFileNameWithoutExtension('%(Filename)')).tt True True - Hlsl.Void.tt - - True - True - Hlsl.tt - - - True - True - Bool2.tt - - - True - True - Bool3.tt - - - True - True - Bool4.tt - - - True - True - BoolMxN.tt - - - True - True - Double2.tt - - - True - True - Double3.tt - - - True - True - Double4.tt - - - True - True - DoubleMxN.tt - - - True - True - Float2.tt - - - True - True - Float3.tt - - - True - True - Float4.tt - - - True - True - FloatMxN.tt - - - True - True - Int2.tt - - - True - True - Int3.tt - - - True - True - Int4.tt - - - True - True - IntMxN.tt - - - True - True - UInt2.tt - - - True - True - UInt3.tt - - - True - True - UInt4.tt - - - True - True - UIntMxN.tt - - - - - - TextTemplatingFileGenerator - Hlsl.Void.g.cs - - - TextTemplatingFileGenerator - Hlsl.g.cs - - - TextTemplatingFileGenerator - Bool2.g.cs - - - TextTemplatingFileGenerator - Bool3.g.cs - - - TextTemplatingFileGenerator - Bool4.g.cs - - - TextTemplatingFileGenerator - BoolMxN.g.cs - - - TextTemplatingFileGenerator - Double2.g.cs - - - TextTemplatingFileGenerator - Double3.g.cs - - - TextTemplatingFileGenerator - Double4.g.cs - - - TextTemplatingFileGenerator - DoubleMxN.g.cs - - - TextTemplatingFileGenerator - Float2.g.cs - - - TextTemplatingFileGenerator - Float3.g.cs - - - TextTemplatingFileGenerator - Float4.g.cs - - - TextTemplatingFileGenerator - FloatMxN.g.cs - - - TextTemplatingFileGenerator - Int2.g.cs - - - TextTemplatingFileGenerator - Int3.g.cs - - - TextTemplatingFileGenerator - Int4.g.cs - - - TextTemplatingFileGenerator - IntMxN.g.cs - - - TextTemplatingFileGenerator - UInt2.g.cs - - - TextTemplatingFileGenerator - UInt3.g.cs - - - TextTemplatingFileGenerator - UInt4.g.cs - - - TextTemplatingFileGenerator - UIntMxN.g.cs -