Skip to content

Commit

Permalink
Ensure use Mile.Windows.UniCrt as the C runtime for K7Pal.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Dec 5, 2024
1 parent 822d7ae commit 8df266d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion K7Pal/K7Pal.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<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>
Expand All @@ -24,6 +23,10 @@
<Import Sdk="Mile.Project.Configurations" Version="1.0.1426" Project="Mile.Project.Cpp.props" />
<Import Project="$(MSBuildThisFileDirectory)K7PalStatic.props" />
<ItemDefinitionGroup>
<ClCompile>
<RuntimeLibrary Condition="'$(Configuration)' == 'Debug'">MultiThreadedDebug</RuntimeLibrary>
<RuntimeLibrary Condition="'$(Configuration)' == 'Release'">MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<ModuleDefinitionFile>K7Pal.def</ModuleDefinitionFile>
</Link>
Expand Down
6 changes: 6 additions & 0 deletions K7Pal/K7PalStatic.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
<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" />
<ItemDefinitionGroup>
<ClCompile>
<RuntimeLibrary Condition="'$(Configuration)' == 'Debug'">MultiThreadedDebug</RuntimeLibrary>
<RuntimeLibrary Condition="'$(Configuration)' == 'Release'">MultiThreaded</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<PackageReference Include="Mile.Windows.Helpers">
<Version>1.0.671</Version>
Expand Down

0 comments on commit 8df266d

Please sign in to comment.