Skip to content

Commit 52b87d0

Browse files
committed
VisualC: use static runtime library
1 parent 319f657 commit 52b87d0

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed

VisualC/SDL_net.vcxproj

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,6 @@
4343
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
4444
<ImportGroup Label="ExtensionSettings">
4545
</ImportGroup>
46-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
47-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
48-
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
49-
</ImportGroup>
50-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
51-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
52-
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
53-
</ImportGroup>
54-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
55-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56-
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
57-
</ImportGroup>
58-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
59-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60-
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
61-
</ImportGroup>
6246
<PropertyGroup Label="UserMacros" />
6347
<PropertyGroup>
6448
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
@@ -112,7 +96,7 @@
11296
<ClCompile>
11397
<Optimization>Disabled</Optimization>
11498
<PreprocessorDefinitions>DLL_EXPORT;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
99+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
116100
<WarningLevel>Level3</WarningLevel>
117101
<DebugInformationFormat>OldStyle</DebugInformationFormat>
118102
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
@@ -139,7 +123,7 @@
139123
<ClCompile>
140124
<Optimization>Disabled</Optimization>
141125
<PreprocessorDefinitions>DLL_EXPORT;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
142-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
126+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
143127
<WarningLevel>Level3</WarningLevel>
144128
<DebugInformationFormat>OldStyle</DebugInformationFormat>
145129
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
@@ -165,7 +149,7 @@
165149
</Midl>
166150
<ClCompile>
167151
<PreprocessorDefinitions>DLL_EXPORT;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
168-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
152+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
169153
<WarningLevel>Level3</WarningLevel>
170154
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
171155
</ClCompile>
@@ -190,7 +174,7 @@
190174
</Midl>
191175
<ClCompile>
192176
<PreprocessorDefinitions>DLL_EXPORT;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
193-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
177+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
194178
<WarningLevel>Level3</WarningLevel>
195179
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
196180
</ClCompile>
@@ -203,12 +187,7 @@
203187
</Link>
204188
</ItemDefinitionGroup>
205189
<ItemGroup>
206-
<ClCompile Include="..\src\SDL_net.c">
207-
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
208-
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
209-
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
210-
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
211-
</ClCompile>
190+
<ClCompile Include="..\src\SDL_net.c" />
212191
</ItemGroup>
213192
<ItemGroup>
214193
<ClInclude Include="..\include\SDL3_net/SDL_net.h" />

0 commit comments

Comments
 (0)