summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorEugene Opalev <eugeneopalev@gmail.com>2019-03-31 02:22:16 +0500
committerRalph Giles <giles@thaumas.net>2019-08-30 12:36:21 -0700
commit5bc7a15675ccf43a36c86d37a8363d6b26a5e890 (patch)
tree4bca7657cec32dbb8be29040bb0050b361387b0f /win32
parent6773ed8ce1955b95bbf52a8443a8a57a346287f9 (diff)
downloadogg-git-5bc7a15675ccf43a36c86d37a8363d6b26a5e890.tar.gz
Don't use runtime DLLs in static builds (prevents LNK4217 linker warning)
Diffstat (limited to 'win32')
-rw-r--r--win32/VS2015/libogg.vcxproj5
-rw-r--r--win32/VS2017/libogg.vcxproj4
2 files changed, 8 insertions, 1 deletions
diff --git a/win32/VS2015/libogg.vcxproj b/win32/VS2015/libogg.vcxproj
index bb6f13f..b1eddc9 100644
--- a/win32/VS2015/libogg.vcxproj
+++ b/win32/VS2015/libogg.vcxproj
@@ -138,7 +138,6 @@
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@@ -150,6 +149,7 @@
<OmitDefaultLibName>true</OmitDefaultLibName>
<Optimization>Disabled</Optimization>
<WarningLevel>Level4</WarningLevel>
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
@@ -178,6 +178,7 @@
<OmitDefaultLibName>true</OmitDefaultLibName>
<Optimization>Disabled</Optimization>
<WarningLevel>Level4</WarningLevel>
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'">
@@ -209,6 +210,7 @@
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level4</WarningLevel>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
@@ -249,6 +251,7 @@
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level4</WarningLevel>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
diff --git a/win32/VS2017/libogg.vcxproj b/win32/VS2017/libogg.vcxproj
index 962b5d6..42e0ab4 100644
--- a/win32/VS2017/libogg.vcxproj
+++ b/win32/VS2017/libogg.vcxproj
@@ -149,6 +149,7 @@
<OmitDefaultLibName>true</OmitDefaultLibName>
<Optimization>Disabled</Optimization>
<WarningLevel>Level4</WarningLevel>
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
@@ -175,6 +176,7 @@
<OmitDefaultLibName>true</OmitDefaultLibName>
<Optimization>Disabled</Optimization>
<WarningLevel>Level4</WarningLevel>
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'">
@@ -204,6 +206,7 @@
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level4</WarningLevel>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
@@ -242,6 +245,7 @@
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level4</WarningLevel>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>