Skip to content

Commit

Permalink
Add dynamic library project for K7Pal.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Dec 5, 2024
1 parent 5a81ac7 commit 4ef9729
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
3 changes: 3 additions & 0 deletions K7Pal/K7Pal.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
LIBRARY

EXPORTS
25 changes: 25 additions & 0 deletions K7Pal/K7Pal.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
PROJECT: NanaZip Platform Abstraction Layer (K7Pal)
FILE: K7Pal.props
PURPOSE: MSBuild Properties for referencing the K7Pal dynamic library
LICENSE: The MIT License
MAINTAINER: MouriNaruto (Kenji.Mouri@outlook.com)
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IncludePath>$(MSBuildThisFileDirectory);$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup>
<Link>
<AdditionalDependencies>$(OutDir)K7Pal.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)K7Pal.vcxproj">
<Project>{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}</Project>
</ProjectReference>
</ItemGroup>
</Project>
41 changes: 41 additions & 0 deletions K7Pal/K7Pal.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}</ProjectGuid>
<RootNamespace>K7Pal</RootNamespace>
<MileProjectType>DynamicLibrary</MileProjectType>
<WindowsTargetPlatformMinVersion>10.0.19041.0</WindowsTargetPlatformMinVersion>
<MileUniCrtDisableRuntimeDebuggingFeature>true</MileUniCrtDisableRuntimeDebuggingFeature>
<MileProjectEnableVCLTLSupport>true</MileProjectEnableVCLTLSupport>
<MileProjectUseProjectProperties>true</MileProjectUseProjectProperties>
<MileProjectCompanyName>M2-Team</MileProjectCompanyName>
<MileProjectFileDescription>NanaZip Platform Abstraction Layer</MileProjectFileDescription>
<MileProjectInternalName>K7Pal</MileProjectInternalName>
<MileProjectLegalCopyright>© M2-Team and Contributors. All rights reserved.</MileProjectLegalCopyright>
<MileProjectOriginalFilename>K7Pal.dll</MileProjectOriginalFilename>
<MileProjectProductName>NanaZip</MileProjectProductName>
<MileProjectVersion>5.0.$([System.DateTime]::Today.Subtract($([System.DateTime]::Parse('2021-08-31'))).TotalDays).0</MileProjectVersion>
<MileProjectVersionTag>Preview 0</MileProjectVersionTag>
</PropertyGroup>
<Import Sdk="Mile.Project.Configurations" Version="1.0.1426" Project="Mile.Project.Platform.x86.props" />
<Import Sdk="Mile.Project.Configurations" Version="1.0.1426" Project="Mile.Project.Platform.x64.props" />
<Import Sdk="Mile.Project.Configurations" Version="1.0.1426" Project="Mile.Project.Platform.ARM64.props" />
<Import Sdk="Mile.Project.Configurations" Version="1.0.1426" Project="Mile.Project.Cpp.Default.props" />
<Import Sdk="Mile.Project.Configurations" Version="1.0.1426" Project="Mile.Project.Cpp.props" />
<Import Project="$(MSBuildThisFileDirectory)K7PalStatic.props" />
<ItemDefinitionGroup>
<Link>
<ModuleDefinitionFile>K7Pal.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="K7Pal.def" />
<None Include="K7Pal.props" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Mile.Windows.UniCrt">
<Version>1.0.199</Version>
</PackageReference>
</ItemGroup>
<Import Sdk="Mile.Project.Configurations" Version="1.0.1426" Project="Mile.Project.Cpp.targets" />
</Project>
15 changes: 15 additions & 0 deletions NanaZip.sln
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "K7", "K7", "{1B20CAF2-FCA3-
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "K7PalStatic", "K7Pal\K7PalStatic.vcxproj", "{249B9FCE-0114-4EE9-A31E-C8A36EEA2279}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "K7Pal", "K7Pal\K7Pal.vcxproj", "{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM64 = Debug|ARM64
Expand Down Expand Up @@ -269,6 +271,18 @@ Global
{249B9FCE-0114-4EE9-A31E-C8A36EEA2279}.Release|x64.Build.0 = Release|x64
{249B9FCE-0114-4EE9-A31E-C8A36EEA2279}.Release|x86.ActiveCfg = Release|Win32
{249B9FCE-0114-4EE9-A31E-C8A36EEA2279}.Release|x86.Build.0 = Release|Win32
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Debug|ARM64.ActiveCfg = Debug|ARM64
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Debug|ARM64.Build.0 = Debug|ARM64
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Debug|x64.ActiveCfg = Debug|x64
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Debug|x64.Build.0 = Debug|x64
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Debug|x86.ActiveCfg = Debug|Win32
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Debug|x86.Build.0 = Debug|Win32
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Release|ARM64.ActiveCfg = Release|ARM64
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Release|ARM64.Build.0 = Release|ARM64
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Release|x64.ActiveCfg = Release|x64
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Release|x64.Build.0 = Release|x64
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Release|x86.ActiveCfg = Release|Win32
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -295,6 +309,7 @@ Global
{86E818B3-D657-4E03-9336-48EE242A79D1} = {94A1E11C-B722-4BAE-9B12-1495F5EF3CC9}
{1B20CAF2-FCA3-490D-BDD7-2D7DD439787A} = {94A1E11C-B722-4BAE-9B12-1495F5EF3CC9}
{249B9FCE-0114-4EE9-A31E-C8A36EEA2279} = {1B20CAF2-FCA3-490D-BDD7-2D7DD439787A}
{279F7FA5-7DDC-4635-99B0-3C7F2179DAE0} = {1B20CAF2-FCA3-490D-BDD7-2D7DD439787A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {DE2C16C4-5306-4103-9C2A-749DC32B5CA6}
Expand Down

0 comments on commit 4ef9729

Please sign in to comment.