From 244f0c1e5e187dd3c128924025d4672e6a42645c Mon Sep 17 00:00:00 2001 From: Ratin Gao Date: Mon, 30 Sep 2024 01:35:16 +0800 Subject: [PATCH] [MSBUILD] Update MSBuild sheets --- Source/Directory.Build.props | 7 ++++--- Source/KNSoft.NDK.targets | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Source/Directory.Build.props b/Source/Directory.Build.props index d0a5652..9ef30f1 100644 --- a/Source/Directory.Build.props +++ b/Source/Directory.Build.props @@ -10,6 +10,7 @@ stdcpplatest stdc17 pch.h + $(IntDir)%(Directory) @@ -41,7 +42,7 @@ MSB_VCTOOLS_VERSION="$(VCToolsVersion)";%(PreprocessorDefinitions) MSB_PLATFORM_TOOLSET="$(PlatformToolset)";%(PreprocessorDefinitions) MSB_PLATFORM_TOOLSET_VERSION="$(PlatformToolsetVersion)";%(PreprocessorDefinitions) - MSB_PLATFORM_TARGET_VERSION="$(PlatformTarget)";%(PreprocessorDefinitions) + MSB_PLATFORM_TARGET="$(PlatformTarget)";%(PreprocessorDefinitions) MSB_TARGET_PLATFORM_VERSION="$(TargetPlatformVersion)";%(PreprocessorDefinitions) MSB_TARGET_PLATFORM_DISPLAY_NAME="$(TargetPlatformDisplayName)";%(PreprocessorDefinitions) @@ -59,9 +60,9 @@ - + - $(MSBuildProjectDirectory)\$(ProjectName).Build.props + $(MSBuildProjectDirectory)\$(MSBuildProjectName).Build.props diff --git a/Source/KNSoft.NDK.targets b/Source/KNSoft.NDK.targets index 202c623..0a30777 100644 --- a/Source/KNSoft.NDK.targets +++ b/Source/KNSoft.NDK.targets @@ -1,7 +1,7 @@ - $(MSBuildThisFileDirectory)Include;$(MSBuildThisFileDirectory)Include\KNSoft\NDK\3rdParty\phnt;$(IncludePath) + $(MSBuildThisFileDirectory)Include;$(IncludePath) $(MSBuildThisFileDirectory)Lib\$(PlatformTarget);$(LibraryPath)