Ricardo Constantino (:RiCON)
2016-Jul-15 19:38 UTC
[opus] [PATCH 1/4] Create a simple project to create version.h to run before any other
Avoids trying to create and replace version.h more than once which
led to file-locking errors with multicore builds.
---
Makefile.am | 1 +
win32/VS2015/celt.vcxproj | 48 +++++++++++++++++---------
win32/VS2015/generate_version.vcxproj | 65 +++++++++++++++++++++++++++++++++++
win32/VS2015/opus.sln | 32 ++++++++++++++++-
win32/VS2015/opus.vcxproj | 48 +++++++++++++++++---------
win32/VS2015/silk_common.vcxproj | 48 +++++++++++++++++---------
win32/VS2015/silk_fixed.vcxproj | 32 +++++++++++++++++
win32/VS2015/silk_float.vcxproj | 54 +++++++++++++++++++----------
8 files changed, 261 insertions(+), 67 deletions(-)
create mode 100644 win32/VS2015/generate_version.vcxproj
diff --git a/Makefile.am b/Makefile.am
index 7a69114..b7ede81 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -185,6 +185,7 @@ EXTRA_DIST = version.mk \
win32/VS2015/test_opus_decode.vcxproj \
win32/VS2015/celt.vcxproj \
win32/VS2015/opus.sln \
+ win32/VS2015/generate_version.vcxproj \
win32/genversion.bat \
win32/config.h
diff --git a/win32/VS2015/celt.vcxproj b/win32/VS2015/celt.vcxproj
index 273ee4d..1499f56 100644
--- a/win32/VS2015/celt.vcxproj
+++ b/win32/VS2015/celt.vcxproj
@@ -249,8 +249,10 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -291,8 +293,10 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -334,8 +338,10 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -377,8 +383,10 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -426,8 +434,10 @@
<OptimizeReferences>true</OptimizeReferences>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -475,8 +485,10 @@
<OptimizeReferences>true</OptimizeReferences>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -525,8 +537,10 @@
<OptimizeReferences>true</OptimizeReferences>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -575,8 +589,10 @@
<OptimizeReferences>true</OptimizeReferences>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
diff --git a/win32/VS2015/generate_version.vcxproj
b/win32/VS2015/generate_version.vcxproj
new file mode 100644
index 0000000..820dc19
--- /dev/null
+++ b/win32/VS2015/generate_version.vcxproj
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="14.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Any|Win32">
+ <Configuration>Any</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+
<ProjectGuid>{77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}</ProjectGuid>
+ <RootNamespace>generate_version</RootNamespace>
+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"
/>
+ <PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Any|Win32'"
Label="Configuration">
+ <ConfigurationType>Utility</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v140</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="Shared">
+ </ImportGroup>
+ <ImportGroup
Condition="'$(Configuration)|$(Platform)'=='Any|Win32'"
Label="PropertySheets">
+ <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)'=='Any|Win32'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <SDLCheck>true</SDLCheck>
+ </ClCompile>
+ <Link>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ </Link>
+ <CustomBuildStep>
+ <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
+ </CustomBuildStep>
+ <CustomBuildStep>
+ <Message>Generating version.h</Message>
+ </CustomBuildStep>
+ <CustomBuildStep>
+ <TreatOutputAsContent>false</TreatOutputAsContent>
+ </CustomBuildStep>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <CustomBuild Include="..\genversion.bat">
+ <FileType>Document</FileType>
+ <Command
Condition="'$(Configuration)|$(Platform)'=='Any|Win32'">"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
+ <Message
Condition="'$(Configuration)|$(Platform)'=='Any|Win32'">Generating
version.h</Message>
+ <Outputs
Condition="'$(Configuration)|$(Platform)'=='Any|Win32'">$(ProjectDir)..\..\win32\version.h</Outputs>
+ </CustomBuild>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/win32/VS2015/opus.sln b/win32/VS2015/opus.sln
index 24bead4..25ec6f1 100644
--- a/win32/VS2015/opus.sln
+++ b/win32/VS2015/opus.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
-VisualStudioVersion = 14.0.23107.0
+VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opus",
"opus.vcxproj", "{219EC965-228A-1824-174D-96449D05F88A}"
ProjectSection(ProjectDependencies) = postProject
@@ -12,6 +12,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") =
"opus", "opus.vcxproj", "{21
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "celt",
"celt.vcxproj", "{245603E3-F580-41A5-9632-B25FE3372CBF}"
+ ProjectSection(ProjectDependencies) = postProject
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA} =
{77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}
+ EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") =
"opus_demo", "opus_demo.vcxproj",
"{016C739D-6389-43BF-8D88-24B2BF6F620F}"
ProjectSection(ProjectDependencies) = postProject
@@ -46,10 +49,21 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}")
= "test_opus_encode", "test_op
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") =
"silk_float", "silk_float.vcxproj",
"{9C4961D2-5DDB-40C7-9BE8-CA918DC4E782}"
+ ProjectSection(ProjectDependencies) = postProject
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA} =
{77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}
+ EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") =
"silk_common", "silk_common.vcxproj",
"{C303D2FC-FF97-49B8-9DDD-467B4C9A0B16}"
+ ProjectSection(ProjectDependencies) = postProject
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA} =
{77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}
+ EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") =
"silk_fixed", "silk_fixed.vcxproj",
"{8484C90D-1561-402F-A91D-2DB10F8C5171}"
+ ProjectSection(ProjectDependencies) = postProject
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA} =
{77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") =
"generate_version", "generate_version.vcxproj",
"{77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -207,6 +221,22 @@ Global
{8484C90D-1561-402F-A91D-2DB10F8C5171}.ReleaseDLL|Win32.Build.0 =
ReleaseDLL|Win32
{8484C90D-1561-402F-A91D-2DB10F8C5171}.ReleaseDLL|x64.ActiveCfg =
ReleaseDLL|x64
{8484C90D-1561-402F-A91D-2DB10F8C5171}.ReleaseDLL|x64.Build.0 =
ReleaseDLL|x64
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.Debug|Win32.ActiveCfg = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.Debug|Win32.Build.0 = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.Debug|x64.ActiveCfg = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.Debug|x64.Build.0 = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.DebugDLL|Win32.ActiveCfg = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.DebugDLL|Win32.Build.0 = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.DebugDLL|x64.ActiveCfg = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.DebugDLL|x64.Build.0 = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.Release|Win32.ActiveCfg = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.Release|Win32.Build.0 = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.Release|x64.ActiveCfg = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.Release|x64.Build.0 = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.ReleaseDLL|Win32.ActiveCfg = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.ReleaseDLL|Win32.Build.0 = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.ReleaseDLL|x64.ActiveCfg = Any|Win32
+ {77C41C23-C4D0-4B86-9E1B-16BCD80FC0CA}.ReleaseDLL|x64.Build.0 = Any|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/win32/VS2015/opus.vcxproj b/win32/VS2015/opus.vcxproj
index 0559aa6..2621fc1 100644
--- a/win32/VS2015/opus.vcxproj
+++ b/win32/VS2015/opus.vcxproj
@@ -188,8 +188,10 @@
<AdditionalDependencies>celt.lib;silk_common.lib;silk_fixed.lib;silk_float.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -236,8 +238,10 @@
<EnableCOMDATFolding>false</EnableCOMDATFolding>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -283,8 +287,10 @@
<AdditionalDependencies>celt.lib;silk_common.lib;silk_fixed.lib;silk_float.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -331,8 +337,10 @@
<EnableCOMDATFolding>false</EnableCOMDATFolding>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -386,8 +394,10 @@
<LinkStatus>false</LinkStatus>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -439,8 +449,10 @@
<LargeAddressAware>true</LargeAddressAware>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -490,8 +502,10 @@
<LinkStatus>false</LinkStatus>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -542,8 +556,10 @@
<LargeAddressAware>true</LargeAddressAware>
</Link>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
diff --git a/win32/VS2015/silk_common.vcxproj b/win32/VS2015/silk_common.vcxproj
index 2df939b..4748738 100644
--- a/win32/VS2015/silk_common.vcxproj
+++ b/win32/VS2015/silk_common.vcxproj
@@ -190,8 +190,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -235,8 +237,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -281,8 +285,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -327,8 +333,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -379,8 +387,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -431,8 +441,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -484,8 +496,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -537,8 +551,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
diff --git a/win32/VS2015/silk_fixed.vcxproj b/win32/VS2015/silk_fixed.vcxproj
index ba1b515..17a57db 100644
--- a/win32/VS2015/silk_fixed.vcxproj
+++ b/win32/VS2015/silk_fixed.vcxproj
@@ -186,6 +186,10 @@
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
+ <PreBuildEvent>
+ <Command>
+ </Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
<ClCompile>
@@ -219,6 +223,10 @@
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
+ <PreBuildEvent>
+ <Command>
+ </Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
@@ -253,6 +261,10 @@
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
+ <PreBuildEvent>
+ <Command>
+ </Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'">
<ClCompile>
@@ -287,6 +299,10 @@
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
+ <PreBuildEvent>
+ <Command>
+ </Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
@@ -327,6 +343,10 @@
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
+ <PreBuildEvent>
+ <Command>
+ </Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
<ClCompile>
@@ -367,6 +387,10 @@
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
+ <PreBuildEvent>
+ <Command>
+ </Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
@@ -408,6 +432,10 @@
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
+ <PreBuildEvent>
+ <Command>
+ </Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
<ClCompile>
@@ -449,6 +477,10 @@
<Lib>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
+ <PreBuildEvent>
+ <Command>
+ </Command>
+ </PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\include\opus_types.h" />
diff --git a/win32/VS2015/silk_float.vcxproj b/win32/VS2015/silk_float.vcxproj
index e55e76d..562ac4c 100644
--- a/win32/VS2015/silk_float.vcxproj
+++ b/win32/VS2015/silk_float.vcxproj
@@ -147,12 +147,14 @@
<OutDir>$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
<PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <CustomBuildBeforeTargets>Compile</CustomBuildBeforeTargets>
+ <CustomBuildBeforeTargets>
+ </CustomBuildBeforeTargets>
<IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
<OutDir>$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
<PropertyGroup
Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
- <CustomBuildBeforeTargets>Compile</CustomBuildBeforeTargets>
+ <CustomBuildBeforeTargets>
+ </CustomBuildBeforeTargets>
<IntDir>$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
<OutDir>$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
@@ -189,8 +191,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -234,8 +238,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -280,8 +286,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -326,8 +334,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -378,8 +388,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -430,8 +442,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -483,8 +497,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
@@ -536,8 +552,10 @@
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
</Lib>
<PreBuildEvent>
- <Command>"$(ProjectDir)..\..\win32\genversion.bat"
"$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command>
- <Message>Generating version.h</Message>
+ <Command>
+ </Command>
+ <Message>
+ </Message>
</PreBuildEvent>
<CustomBuildStep>
<Command>
--
2.9.1
Ricardo Constantino (:RiCON)
2016-Jul-15 19:38 UTC
[opus] [PATCH 2/4] vs2015: supress a few warnings
SDLCheck is a superset of BufferSecurityCheck and is off by default.
If it's set, it complains that it's overriden by BufferSecurityCheck.
Warning 4996 is already ignored in other binaries (fopen being deprecated and
suggesting fopen_s).
NoExtensions isn't a valid value for EnableEnhancedInstructionSet in x64
builds.
---
win32/VS2015/celt.vcxproj | 6 ------
win32/VS2015/opus.vcxproj | 6 ------
win32/VS2015/opus_demo.vcxproj | 14 ++++++++------
win32/VS2015/silk_common.vcxproj | 6 ------
win32/VS2015/silk_fixed.vcxproj | 6 ------
win32/VS2015/silk_float.vcxproj | 6 ------
win32/VS2015/test_opus_api.vcxproj | 6 ------
win32/VS2015/test_opus_decode.vcxproj | 6 ------
win32/VS2015/test_opus_encode.vcxproj | 6 ------
9 files changed, 8 insertions(+), 54 deletions(-)
diff --git a/win32/VS2015/celt.vcxproj b/win32/VS2015/celt.vcxproj
index 1499f56..d39882d 100644
--- a/win32/VS2015/celt.vcxproj
+++ b/win32/VS2015/celt.vcxproj
@@ -328,7 +328,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -373,7 +372,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -410,7 +408,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -461,7 +458,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -513,7 +509,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -565,7 +560,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
diff --git a/win32/VS2015/opus.vcxproj b/win32/VS2015/opus.vcxproj
index 2621fc1..52b4304 100644
--- a/win32/VS2015/opus.vcxproj
+++ b/win32/VS2015/opus.vcxproj
@@ -278,7 +278,6 @@
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
<SmallerTypeCheck>false</SmallerTypeCheck>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -327,7 +326,6 @@
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
<SmallerTypeCheck>false</SmallerTypeCheck>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -365,7 +363,6 @@
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -419,7 +416,6 @@
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -473,7 +469,6 @@
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
@@ -526,7 +521,6 @@
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
diff --git a/win32/VS2015/opus_demo.vcxproj b/win32/VS2015/opus_demo.vcxproj
index 275241f..3a03910 100644
--- a/win32/VS2015/opus_demo.vcxproj
+++ b/win32/VS2015/opus_demo.vcxproj
@@ -194,6 +194,7 @@
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -224,6 +225,7 @@
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -251,10 +253,10 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -282,10 +284,10 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -307,7 +309,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
@@ -322,6 +323,7 @@
<FloatingPointExceptions>false</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -344,7 +346,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
@@ -359,6 +360,7 @@
<FloatingPointExceptions>false</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -381,7 +383,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
@@ -396,6 +397,7 @@
<FloatingPointExceptions>false</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -418,7 +420,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
@@ -433,6 +434,7 @@
<FloatingPointExceptions>false</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
diff --git a/win32/VS2015/silk_common.vcxproj b/win32/VS2015/silk_common.vcxproj
index 4748738..bb496fe 100644
--- a/win32/VS2015/silk_common.vcxproj
+++ b/win32/VS2015/silk_common.vcxproj
@@ -272,7 +272,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -320,7 +319,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -361,7 +359,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -415,7 +412,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -470,7 +466,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -525,7 +520,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
diff --git a/win32/VS2015/silk_fixed.vcxproj b/win32/VS2015/silk_fixed.vcxproj
index 17a57db..542df7c 100644
--- a/win32/VS2015/silk_fixed.vcxproj
+++ b/win32/VS2015/silk_fixed.vcxproj
@@ -249,7 +249,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -287,7 +286,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -317,7 +315,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -361,7 +358,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -406,7 +402,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -451,7 +446,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
diff --git a/win32/VS2015/silk_float.vcxproj b/win32/VS2015/silk_float.vcxproj
index 562ac4c..3579bd4 100644
--- a/win32/VS2015/silk_float.vcxproj
+++ b/win32/VS2015/silk_float.vcxproj
@@ -273,7 +273,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -321,7 +320,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -361,7 +359,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -415,7 +412,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -470,7 +466,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -525,7 +520,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
diff --git a/win32/VS2015/test_opus_api.vcxproj
b/win32/VS2015/test_opus_api.vcxproj
index 302752d..9d2ce02 100644
--- a/win32/VS2015/test_opus_api.vcxproj
+++ b/win32/VS2015/test_opus_api.vcxproj
@@ -251,7 +251,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -282,7 +281,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -306,7 +304,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -343,7 +340,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -380,7 +376,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -417,7 +412,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
diff --git a/win32/VS2015/test_opus_decode.vcxproj
b/win32/VS2015/test_opus_decode.vcxproj
index ef6279c..db80785 100644
--- a/win32/VS2015/test_opus_decode.vcxproj
+++ b/win32/VS2015/test_opus_decode.vcxproj
@@ -254,7 +254,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -286,7 +285,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -311,7 +309,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -349,7 +346,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -387,7 +383,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -425,7 +420,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
diff --git a/win32/VS2015/test_opus_encode.vcxproj
b/win32/VS2015/test_opus_encode.vcxproj
index e2fa725..500194c 100644
--- a/win32/VS2015/test_opus_encode.vcxproj
+++ b/win32/VS2015/test_opus_encode.vcxproj
@@ -254,7 +254,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -286,7 +285,6 @@
<ControlFlowGuard>Guard</ControlFlowGuard>
<FunctionLevelLinking>false</FunctionLevelLinking>
<EnableParallelCodeGeneration>false</EnableParallelCodeGeneration>
-
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
<FloatingPointExceptions>true</FloatingPointExceptions>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<OpenMPSupport>false</OpenMPSupport>
@@ -311,7 +309,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -349,7 +346,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -387,7 +383,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -425,7 +420,6 @@
<DebugInformationFormat>None</DebugInformationFormat>
<CompileAsManaged>false</CompileAsManaged>
<CompileAsWinRT>false</CompileAsWinRT>
- <SDLCheck>false</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
--
2.9.1
Ricardo Constantino (:RiCON)
2016-Jul-15 19:38 UTC
[opus] [PATCH 3/4] Add appveyor.yml to test VS2015 builds
---
appveyor.yml | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 appveyor.yml
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..60035bc
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,29 @@
+version: 1.0.{build}
+branches:
+ only:
+ - master
+ - appveyor
+
+image: Visual Studio 2015
+configuration:
+- Debug
+- DebugDLL
+- Release
+- ReleaseDLL
+
+platform:
+- Win32
+- x64
+
+build:
+ project: win32\VS2015\opus.sln
+ parallel: true
+ verbosity: minimal
+
+test_script:
+- cmd: >-
+
%APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\test_opus_api.exe
+
+
%APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\test_opus_decode.exe
+
+
%APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\test_opus_encode.exe
\ No newline at end of file
--
2.9.1
Ricardo Constantino (:RiCON)
2016-Jul-15 19:38 UTC
[opus] [PATCH 4/4] Trim appveyor config.
From: Ralph Giles <giles at thaumas.net>
---
appveyor.yml | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/appveyor.yml b/appveyor.yml
index 60035bc..d041fc6 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,9 +1,3 @@
-version: 1.0.{build}
-branches:
- only:
- - master
- - appveyor
-
image: Visual Studio 2015
configuration:
- Debug
@@ -26,4 +20,4 @@ test_script:
%APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\test_opus_decode.exe
-
%APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\test_opus_encode.exe
\ No newline at end of file
+
%APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\test_opus_encode.exe
--
2.9.1