Skip to content

Commit 05adc9e

Browse files
author
埃博拉酱
committed
使用静态运行库,避免运行时依赖
1 parent e43adde commit 05adc9e

File tree

8 files changed

+38
-188
lines changed

8 files changed

+38
-188
lines changed
-6.53 MB
Binary file not shown.
1.06 MB
Binary file not shown.

Thumbs.db

0 Bytes
Binary file not shown.

Windows平台.sln

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,23 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "共享头文件", "共享
1111
EndProject
1212
Global
1313
GlobalSection(SolutionConfigurationPlatforms) = preSolution
14-
Debug|Any CPU = Debug|Any CPU
1514
Debug|x64 = Debug|x64
16-
Debug|x86 = Debug|x86
17-
Release|Any CPU = Release|Any CPU
1815
Release|x64 = Release|x64
19-
Release|x86 = Release|x86
16+
调试NuGet|x64 = 调试NuGet|x64
2017
EndGlobalSection
2118
GlobalSection(ProjectConfigurationPlatforms) = postSolution
22-
{8FE29544-0044-4726-960E-B0F07194A747}.Debug|Any CPU.ActiveCfg = Debug|x64
23-
{8FE29544-0044-4726-960E-B0F07194A747}.Debug|Any CPU.Build.0 = Debug|x64
2419
{8FE29544-0044-4726-960E-B0F07194A747}.Debug|x64.ActiveCfg = Debug|x64
2520
{8FE29544-0044-4726-960E-B0F07194A747}.Debug|x64.Build.0 = Debug|x64
26-
{8FE29544-0044-4726-960E-B0F07194A747}.Debug|x86.ActiveCfg = Debug|Win32
27-
{8FE29544-0044-4726-960E-B0F07194A747}.Debug|x86.Build.0 = Debug|Win32
28-
{8FE29544-0044-4726-960E-B0F07194A747}.Release|Any CPU.ActiveCfg = Release|x64
29-
{8FE29544-0044-4726-960E-B0F07194A747}.Release|Any CPU.Build.0 = Release|x64
3021
{8FE29544-0044-4726-960E-B0F07194A747}.Release|x64.ActiveCfg = Release|x64
3122
{8FE29544-0044-4726-960E-B0F07194A747}.Release|x64.Build.0 = Release|x64
32-
{8FE29544-0044-4726-960E-B0F07194A747}.Release|x86.ActiveCfg = Release|Win32
33-
{8FE29544-0044-4726-960E-B0F07194A747}.Release|x86.Build.0 = Release|Win32
34-
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Debug|Any CPU.ActiveCfg = Debug|x64
35-
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Debug|Any CPU.Build.0 = Debug|x64
23+
{8FE29544-0044-4726-960E-B0F07194A747}.调试NuGet|x64.ActiveCfg = 调试NuGet|x64
24+
{8FE29544-0044-4726-960E-B0F07194A747}.调试NuGet|x64.Build.0 = 调试NuGet|x64
3625
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Debug|x64.ActiveCfg = Debug|x64
3726
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Debug|x64.Build.0 = Debug|x64
38-
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Debug|x86.ActiveCfg = Debug|Win32
39-
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Debug|x86.Build.0 = Debug|Win32
40-
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Release|Any CPU.ActiveCfg = Release|x64
41-
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Release|Any CPU.Build.0 = Release|x64
4227
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Release|x64.ActiveCfg = Release|x64
4328
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Release|x64.Build.0 = Release|x64
44-
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Release|x86.ActiveCfg = Release|Win32
45-
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.Release|x86.Build.0 = Release|Win32
29+
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.调试NuGet|x64.ActiveCfg = Debug|x64
30+
{E84A0D79-B413-4096-8DB9-1C5F0AE5919B}.调试NuGet|x64.Build.0 = Debug|x64
4631
EndGlobalSection
4732
GlobalSection(SolutionProperties) = preSolution
4833
HideSolutionNode = FALSE

Windows平台/Windows平台.vcxproj

Lines changed: 25 additions & 110 deletions
Large diffs are not rendered by default.

Windows平台/Windows平台.vcxproj.filters

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,8 @@
7575
<ItemGroup>
7676
<None Include="packages.config" />
7777
</ItemGroup>
78+
<ItemGroup>
79+
<Library Include="$(ZLibDir)lib\$(Platform)\Debug\$(ZLibName).lib" />
80+
<Library Include="$(ZLibDir)lib\$(Platform)\Release\$(ZLibName).lib" />
81+
</ItemGroup>
7882
</Project>

Windows平台/packages.config

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
<packages>
33
<package id="libwebp.v140" version="0.5.0.2" targetFramework="native" />
44
<package id="libwebp.v140.redist" version="0.5.0.1" targetFramework="native" />
5-
<package id="MariaDB_Connector" version="1.1.7" targetFramework="native" />
6-
<package id="MATLAB.MexTools" version="7.1.1" targetFramework="native" />
5+
<package id="MariaDB_Connector" version="1.1.7.1" targetFramework="native" />
6+
<package id="MATLAB.MexTools" version="7.1.2" targetFramework="native" />
77
<package id="native.magic_enum" version="0.9.5" targetFramework="native" />
8-
<package id="nih_at.libzip" version="1.11.4.1" targetFramework="native" />
8+
<package id="nih_at.libzip" version="1.11.4.2" targetFramework="native" />
9+
<package id="StoneSteps.zLib.VS2022.Static" version="1.3.1.1" targetFramework="native" />
910
</packages>

提权操作C/提权操作C.vcxproj

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
4-
<ProjectConfiguration Include="Debug|Win32">
5-
<Configuration>Debug</Configuration>
6-
<Platform>Win32</Platform>
7-
</ProjectConfiguration>
8-
<ProjectConfiguration Include="Release|Win32">
9-
<Configuration>Release</Configuration>
10-
<Platform>Win32</Platform>
11-
</ProjectConfiguration>
124
<ProjectConfiguration Include="Debug|x64">
135
<Configuration>Debug</Configuration>
146
<Platform>x64</Platform>
@@ -26,19 +18,6 @@
2618
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
2719
</PropertyGroup>
2820
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30-
<ConfigurationType>Application</ConfigurationType>
31-
<UseDebugLibraries>true</UseDebugLibraries>
32-
<PlatformToolset>v145</PlatformToolset>
33-
<CharacterSet>Unicode</CharacterSet>
34-
</PropertyGroup>
35-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
36-
<ConfigurationType>Application</ConfigurationType>
37-
<UseDebugLibraries>false</UseDebugLibraries>
38-
<PlatformToolset>v145</PlatformToolset>
39-
<WholeProgramOptimization>true</WholeProgramOptimization>
40-
<CharacterSet>Unicode</CharacterSet>
41-
</PropertyGroup>
4221
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4322
<ConfigurationType>Application</ConfigurationType>
4423
<UseDebugLibraries>true</UseDebugLibraries>
@@ -57,12 +36,6 @@
5736
</ImportGroup>
5837
<ImportGroup Label="Shared">
5938
</ImportGroup>
60-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
61-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62-
</ImportGroup>
63-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
64-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65-
</ImportGroup>
6639
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
6740
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
6841
</ImportGroup>
@@ -78,34 +51,6 @@
7851
<OutDir>$(SolutionDir)+MATLAB\+internal\</OutDir>
7952
<IncludePath>$(SolutionDir)共享头文件;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
8053
</PropertyGroup>
81-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
82-
<ClCompile>
83-
<WarningLevel>Level3</WarningLevel>
84-
<SDLCheck>true</SDLCheck>
85-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
86-
<ConformanceMode>true</ConformanceMode>
87-
</ClCompile>
88-
<Link>
89-
<SubSystem>Console</SubSystem>
90-
<GenerateDebugInformation>true</GenerateDebugInformation>
91-
</Link>
92-
</ItemDefinitionGroup>
93-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
94-
<ClCompile>
95-
<WarningLevel>Level3</WarningLevel>
96-
<FunctionLevelLinking>true</FunctionLevelLinking>
97-
<IntrinsicFunctions>true</IntrinsicFunctions>
98-
<SDLCheck>true</SDLCheck>
99-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
100-
<ConformanceMode>true</ConformanceMode>
101-
</ClCompile>
102-
<Link>
103-
<SubSystem>Console</SubSystem>
104-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
105-
<OptimizeReferences>true</OptimizeReferences>
106-
<GenerateDebugInformation>true</GenerateDebugInformation>
107-
</Link>
108-
</ItemDefinitionGroup>
10954
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
11055
<ClCompile>
11156
<WarningLevel>Level3</WarningLevel>

0 commit comments

Comments
 (0)