Debian Codegraph @

PCbuild/openssl.vcxproj

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Release|Win32">
5 <Configuration>Release</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Release|x64">
9 <Configuration>Release</Configuration>
10 <Platform>x64</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Release|ARM">
13 <Configuration>Release</Configuration>
14 <Platform>ARM</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|ARM64">
17 <Configuration>Release</Configuration>
18 <Platform>ARM64</Platform>
19 </ProjectConfiguration>
20 </ItemGroup>
21 <PropertyGroup Label="Globals">
22 <ProjectGuid>{B5FD6F1D-129E-4BFF-9340-03606FAC7283}</ProjectGuid>
23 </PropertyGroup>
24
25 <Import Project="python.props" />
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27
28 <PropertyGroup Label="Configuration" Condition="$(Platform) == 'Win32'">
29 <ConfigurationType>Makefile</ConfigurationType>
30 <Bitness>32</Bitness>
31 <ArchName>x86</ArchName>
32 <OpenSSLPlatform>VC-WIN32</OpenSSLPlatform>
33 <SupportSigning>true</SupportSigning>
34 </PropertyGroup>
35
36 <PropertyGroup Label="Configuration" Condition="$(Platform) == 'x64'">
37 <ConfigurationType>Makefile</ConfigurationType>
38 <Bitness>64</Bitness>
39 <ArchName>amd64</ArchName>
40 <OpenSSLPlatform>VC-WIN64A-masm</OpenSSLPlatform>
41 <SupportSigning>true</SupportSigning>
42 </PropertyGroup>
43
44 <PropertyGroup Label="Configuration" Condition="$(Platform) == 'ARM'">
45 <ConfigurationType>Makefile</ConfigurationType>
46 <Bitness>ARM</Bitness>
47 <ArchName>ARM</ArchName>
48 <OpenSSLPlatform>VC-WIN32-ARM</OpenSSLPlatform>
49 <SupportSigning>true</SupportSigning>
50 </PropertyGroup>
51
52 <PropertyGroup Label="Configuration" Condition="$(Platform) == 'ARM64'">
53 <ConfigurationType>Makefile</ConfigurationType>
54 <Bitness>ARM64</Bitness>
55 <ArchName>ARM64</ArchName>
56 <OpenSSLPlatform>VC-WIN64-ARM</OpenSSLPlatform>
57 <SupportSigning>true</SupportSigning>
58 </PropertyGroup>
59
60 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
61 <Import Project="pyproject.props" />
62
63 <PropertyGroup>
64 <IntDir>$(opensslDir)\tmp$(Bitness)dll</IntDir>
65 <OutDir>$(opensslOutDir)</OutDir>
66 <NMakeBuildCommandLine>setlocal
67 set VCINSTALLDIR=$(VCInstallDir)
68 if not exist "$(IntDir.TrimEnd('\'))" mkdir "$(IntDir.TrimEnd('\'))"
69 cd /D "$(IntDir.TrimEnd('\'))"
70 $(Perl) "$(opensslDir)\configure" $(OpenSSLPlatform) no-asm no-uplink
71 nmake
72 </NMakeBuildCommandLine>
73 </PropertyGroup>
74
75 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
76
77 <Target Name="_CopyToOutput" AfterTargets="Build">
78 <ItemGroup>
79 <_Built Include="$(opensslDir)\LICENSE" />
80 <_Built Include="$(IntDir)\libcrypto.lib;$(IntDir)\libcrypto-*.dll;$(IntDir)\libcrypto-*.pdb" />
81 <_Built Include="$(IntDir)\libssl.lib;$(IntDir)\libssl-*.dll;$(IntDir)\libssl-*.pdb" />
82 <_Include Include="$(opensslDir)\Include\openssl\*.h" />
83 <_Include Include="$(IntDir)\include\openssl\*.h" />
84 </ItemGroup>
85 <MakeDir Directories="$(opensslOutDir)\include\openssl" />
86 <Copy SourceFiles="@(_Built)" DestinationFolder="$(opensslOutDir)" />
87 <Copy SourceFiles="@(_Include)" DestinationFolder="$(opensslOutDir)\include\openssl" />
88 </Target>
89
90 <Target Name="SignFiles" AfterTargets="Build" Condition="$(_SignCommand) != ''">
91 <ItemGroup>
92 <FilesToSign Include="$(opensslOutDir)\lib*.dll" />
93 </ItemGroup>
94 <Exec Command="$(_SignCommand) %(FilesToSign.FullPath)" ContinueOnError="true" />
95 </Target>
96
97 <Target Name="Clean" />
98 <Target Name="CleanAll">
99 <Delete Files="$(TargetPath);$(BuildPath)$(tclDLLName)" />
100 <RemoveDir Directories="$(IntDir)" />
101 </Target>
102
103 <Target Name="LocateNMake">
104 <PropertyGroup>
105 <OutputFilename Condition="$(OutputFilename) == ''">$(Temp)\nmake.loc</OutputFilename>
106 </PropertyGroup>
107 <ItemGroup>
108 <_NMakeExe Include="$(VC_ExecutablePath_x86_x86)\nmake.exe" Condition="$(VC_ExecutablePath_x86_x86) != ''" />
109 </ItemGroup>
110 <MakeDir Directories="$([System.IO.Path]::GetDirectoryName($(OutputFilename)))" />
111 <WriteLinesToFile File="$(OutputFilename)" Lines="@(_NMakeExe)" />
112 </Target>
113
114 <Target Name="ResolveAssemblyReferences" />
115 </Project>