Skip to content

Commit

Permalink
Add Mile.Aria2.WinRT project.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Mar 15, 2024
1 parent 78393f9 commit e44c228
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Mile.Aria2.WinRT/Mile.Aria2.WinRT.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* PROJECT: Mile.Aria2
* FILE: Mile.Aria2.WinRT.cpp
* PURPOSE: Implementation for Mile.Aria2.WinRT
*
* LICENSE: The MIT License
*
* MAINTAINER: MouriNaruto ([email protected])
*/

#include <clocale>
#include <cstdio>
#include <cwchar>

int main()
{
std::wprintf(
L"Mile.Aria2.WinRT\n"
L"================================================================\n"
L"Hello World!\n");

std::getchar();

return 0;
}
12 changes: 12 additions & 0 deletions Mile.Aria2.WinRT/Mile.Aria2.WinRT.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
</assembly>
36 changes: 36 additions & 0 deletions Mile.Aria2.WinRT/Mile.Aria2.WinRT.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{1538497C-5B88-478E-BB06-83204B473304}</ProjectGuid>
<RootNamespace>Mile.Aria2.WinRT</RootNamespace>
<MileProjectType>ConsoleApplication</MileProjectType>
<MileProjectManifestFile>Mile.Aria2.WinRT.manifest</MileProjectManifestFile>
<MileProjectEnableVCLTLSupport>true</MileProjectEnableVCLTLSupport>
<MileProjectUseProjectProperties>true</MileProjectUseProjectProperties>
<MileProjectCompanyName>Project Mile</MileProjectCompanyName>
<MileProjectFileDescription>Mile.Aria2.WinRT</MileProjectFileDescription>
<MileProjectInternalName>Mile.Aria2.WinRT</MileProjectInternalName>
<MileProjectLegalCopyright>© Project Mile. All rights reserved.</MileProjectLegalCopyright>
<MileProjectOriginalFilename>Mile.Aria2.WinRT.exe</MileProjectOriginalFilename>
<MileProjectProductName>Mile.Aria2</MileProjectProductName>
<MileProjectVersion>1.0.$([System.DateTime]::Today.Subtract($([System.DateTime]::Parse('2023-03-31'))).TotalDays).0</MileProjectVersion>
<MileProjectVersionTag Condition="false">Alpha 1</MileProjectVersionTag>
</PropertyGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.x86.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.x64.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.ARM64.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.Default.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.props" />
<ItemGroup>
<ClCompile Include="Mile.Aria2.WinRT.cpp" />
</ItemGroup>
<ItemGroup>
<Manifest Include="Mile.Aria2.WinRT.manifest" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Mile.Windows.Helpers">
<Version>1.0.15</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.targets" />
</Project>
14 changes: 14 additions & 0 deletions Mile.Aria2.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Mile.Aria2", "Mile.Aria2\Mi
{E51989D4-79D3-4EAC-A7BF-F076996821BB} = {E51989D4-79D3-4EAC-A7BF-F076996821BB}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Mile.Aria2.WinRT", "Mile.Aria2.WinRT\Mile.Aria2.WinRT.vcxproj", "{1538497C-5B88-478E-BB06-83204B473304}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM64 = Debug|ARM64
Expand Down Expand Up @@ -60,6 +62,18 @@ Global
{696BC0B6-CA75-4955-97DE-A0A14345C55E}.Release|x64.Build.0 = Release|x64
{696BC0B6-CA75-4955-97DE-A0A14345C55E}.Release|x86.ActiveCfg = Release|Win32
{696BC0B6-CA75-4955-97DE-A0A14345C55E}.Release|x86.Build.0 = Release|Win32
{1538497C-5B88-478E-BB06-83204B473304}.Debug|ARM64.ActiveCfg = Debug|ARM64
{1538497C-5B88-478E-BB06-83204B473304}.Debug|ARM64.Build.0 = Debug|ARM64
{1538497C-5B88-478E-BB06-83204B473304}.Debug|x64.ActiveCfg = Debug|x64
{1538497C-5B88-478E-BB06-83204B473304}.Debug|x64.Build.0 = Debug|x64
{1538497C-5B88-478E-BB06-83204B473304}.Debug|x86.ActiveCfg = Debug|Win32
{1538497C-5B88-478E-BB06-83204B473304}.Debug|x86.Build.0 = Debug|Win32
{1538497C-5B88-478E-BB06-83204B473304}.Release|ARM64.ActiveCfg = Release|ARM64
{1538497C-5B88-478E-BB06-83204B473304}.Release|ARM64.Build.0 = Release|ARM64
{1538497C-5B88-478E-BB06-83204B473304}.Release|x64.ActiveCfg = Release|x64
{1538497C-5B88-478E-BB06-83204B473304}.Release|x64.Build.0 = Release|x64
{1538497C-5B88-478E-BB06-83204B473304}.Release|x86.ActiveCfg = Release|Win32
{1538497C-5B88-478E-BB06-83204B473304}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit e44c228

Please sign in to comment.