From b691fd4ec93d7a5c382fbeb11a07f01d325aa12f Mon Sep 17 00:00:00 2001
From: Jackson Schuster <36744439+jtschuster@users.noreply.github.com>
Date: Wed, 19 Jul 2023 11:58:31 -0700
Subject: [PATCH] Make DNNE build incrementally (#172)
* MSBuild is annoying and this is required to make it build incrementally
---
src/msbuild/DNNE.targets | 40 +++++++++++++++++++++++++++-------------
1 file changed, 27 insertions(+), 13 deletions(-)
diff --git a/src/msbuild/DNNE.targets b/src/msbuild/DNNE.targets
index 7b4d4f5..3b13ed9 100644
--- a/src/msbuild/DNNE.targets
+++ b/src/msbuild/DNNE.targets
@@ -54,14 +54,33 @@ DNNE.targets
false
$(DnneGeneratedBinPath)/$(DnneNativeExportsBinaryName)$(DnneNativeBinaryExt)
+ $(DnneGeneratedOutputPath)/$(TargetName).g.c
-
-
+
+
+
+ $(DnneNativeExportsBinaryName)$(DnneNativeBinaryExt)
+
+
+
+ $(DnneNativeExportsBinaryName).h
+
+
+
+ dnne.h
+
+
+
+
+ $(DnneNativeExportsBinaryName).lib
+
-
+
-
+
%(Filename)%(Extension)
PreserveNewest
false
@@ -112,8 +131,8 @@ DNNE.targets
@@ -173,14 +192,9 @@ DNNE.targets
Deploy the official 'dnne.h' header.
-->
+ SourceFiles="@(DnneNativeExportsInput)"
+ DestinationFiles="@(DnneNativeExportsInput->'$(DnneNativeExportsBinaryPath)%(OutputFileName)')" />
-
-