Ghidra is a software reverse engineering (SRE) framework
GT-3275: PDB SDK version is now controlled by a Gradle property.
Ryan Kurtzd1d68af9315a
diff --git a/Ghidra/Features/PDB/build.gradle b/Ghidra/Features/PDB/build.gradleindex d98ab11034..99d2316689 100644--- a/Ghidra/Features/PDB/build.gradle+++ b/Ghidra/Features/PDB/build.gradle@@ -50,12 +50,13 @@ if ("win64".equals(getCurrentPlatformName())) {def projectPathWindows = projectPath.replace("/", File.separator)def solutionPathWindows = "${projectPathWindows}\\src\\pdb\\pdb.sln"def platformToolset = 'v' + MSVC_TOOLS_VERSION.substring(0, 4).replace('.', '');+ def windowsTargetPlatformVersion = findProperty("WindowsTargetPlatformVersion") ?: ""doFirst {file("build/os/win64").mkdirs()new File(solutionBatchFilePath).withWriter { out ->out.println "call " + VISUAL_STUDIO_VCVARS_CMD- out.println "msbuild ${solutionPathWindows} /p:Configuration=Release /p:PlatformToolset=${platformToolset} /p:WindowsTargetPlatformVersion=${MSVC_SDK_VERSION}"+ out.println "msbuild ${solutionPathWindows} /p:Configuration=Release /p:PlatformToolset=${platformToolset} /p:WindowsTargetPlatformVersion=${windowsTargetPlatformVersion}"}}diff --git a/Ghidra/Features/PDB/src/pdb/pdb.vcxproj b/Ghidra/Features/PDB/src/pdb/pdb.vcxprojindex d797613cb0..74b8e5460d 100644--- a/Ghidra/Features/PDB/src/pdb/pdb.vcxproj+++ b/Ghidra/Features/PDB/src/pdb/pdb.vcxproj@@ -13,7 +13,6 @@<PropertyGroup Label="Globals"><ProjectGuid>{343E9778-3C04-476E-8F90-A114AA7AA108}</ProjectGuid><Keyword>Win32Proj</Keyword>- <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">