| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Project> |
| 3 |
<Import Project="..\..\VSProps\Base.Macros.props" /> |
| 4 |
<Import Project="$(VSPropsDir)Base.Targets.props" /> |
| 5 |
<PropertyGroup Label="Globals"> |
| 6 |
<ProjectGuid>{E4BECBAB-9C6E-41AB-BB56-F9D70AB6BE03}</ProjectGuid> |
| 7 |
</PropertyGroup> |
| 8 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| 9 |
<Import Project="$(VSPropsDir)Configuration.Application.props" /> |
| 10 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 11 |
<ImportGroup Label="ExtensionSettings" /> |
| 12 |
<ImportGroup Label="PropertySheets"> |
| 13 |
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 14 |
<Import Project="$(VSPropsDir)Base.props" /> |
| 15 |
<Import Project="$(VSPropsDir)Base.Dolphin.props" /> |
| 16 |
<Import Project="$(VSPropsDir)PCHUse.props" /> |
| 17 |
</ImportGroup> |
| 18 |
<PropertyGroup Label="UserMacros" /> |
| 19 |
<PropertyGroup> |
| 20 |
<TargetName>Updater</TargetName> |
| 21 |
</PropertyGroup> |
| 22 |
<ItemGroup> |
| 23 |
<ProjectReference Include="$(CoreDir)DolphinLib.vcxproj"> |
| 24 |
<Project>{D79392F7-06D6-4B4B-A39F-4D587C215D3A}</Project> |
| 25 |
</ProjectReference> |
| 26 |
</ItemGroup> |
| 27 |
<ItemGroup> |
| 28 |
<ClInclude Include="..\UpdaterCommon\Platform.h" /> |
| 29 |
<ClInclude Include="..\UpdaterCommon\UI.h" /> |
| 30 |
<ClInclude Include="..\UpdaterCommon\UpdaterCommon.h" /> |
| 31 |
</ItemGroup> |
| 32 |
<ItemGroup> |
| 33 |
<ClCompile Include="..\UpdaterCommon\UpdaterCommon.cpp" /> |
| 34 |
<ClCompile Include="Main.cpp" /> |
| 35 |
<ClCompile Include="Platform.cpp" /> |
| 36 |
<ClCompile Include="WinUI.cpp" /> |
| 37 |
</ItemGroup> |
| 38 |
<Import Project="$(ExternalsDir)cpp-optparse\exports.props" /> |
| 39 |
<Import Project="$(ExternalsDir)curl\exports.props" /> |
| 40 |
<Import Project="$(ExternalsDir)ed25519\exports.props" /> |
| 41 |
<Import Project="$(ExternalsDir)fmt\exports.props" /> |
| 42 |
<Import Project="$(ExternalsDir)mbedtls\exports.props" /> |
| 43 |
<Import Project="$(ExternalsDir)zlib-ng\exports.props" /> |
| 44 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 45 |
<ImportGroup Label="ExtensionTargets"> |
| 46 |
</ImportGroup> |
| 47 |
<!--Copy the .exe to binary output folder--> |
| 48 |
<ItemGroup> |
| 49 |
<SourceFiles Include="$(TargetPath)" /> |
| 50 |
</ItemGroup> |
| 51 |
<ItemGroup> |
| 52 |
<Manifest Include="Updater.exe.manifest" /> |
| 53 |
</ItemGroup> |
| 54 |
<Target Name="AfterBuild" Inputs="@(SourceFiles)" Outputs="@(SourceFiles -> '$(BinaryOutputDir)%(Filename)%(Extension)')"> |
| 55 |
<Message Text="Copy: @(SourceFiles) -> $(BinaryOutputDir)" Importance="High" /> |
| 56 |
<Copy SourceFiles="@(SourceFiles)" DestinationFolder="$(BinaryOutputDir)" /> |
| 57 |
</Target> |
| 58 |
</Project> |