mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GT-3275: PDB SDK version is now controlled by a Gradle property.
This commit is contained in:
parent
4f0007bb1f
commit
d1d68af931
2 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue