diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-01-07 22:55:34 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-01-08 14:38:15 +0400 |
commit | acad0a851870034968f8746cd0135a35d40f87b8 (patch) | |
tree | 9200537619c28e4f9a73c2dd3aae0e206f816c50 /src/filters/parser/MpegSplitter | |
parent | 8848e8f9778a25b4669ccab200b86b888130abf6 (diff) |
Add VS2012 support.
* We use the same project files as VS2010 which makes things easier to maintain.
* We don't use any MFC hack to reduce the binaries' size. We use the _AFX_NO_MFC_CONTROLS_IN_DIALOGS define for the standalone filters which has the same effect and it's cleaner. MPC-HC itself is a little bigger uncompressed, but its compressed size is the same.
Diffstat (limited to 'src/filters/parser/MpegSplitter')
-rw-r--r-- | src/filters/parser/MpegSplitter/MpegSplitter.vcxproj | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/filters/parser/MpegSplitter/MpegSplitter.vcxproj b/src/filters/parser/MpegSplitter/MpegSplitter.vcxproj index e1f02330f..9293cf649 100644 --- a/src/filters/parser/MpegSplitter/MpegSplitter.vcxproj +++ b/src/filters/parser/MpegSplitter/MpegSplitter.vcxproj @@ -38,8 +38,10 @@ <ProjectGuid>{4628C665-EDE4-40D2-B525-32BE8B8551C8}</ProjectGuid>
<RootNamespace>MpegSplitter</RootNamespace>
<Keyword>MFCProj</Keyword>
+ <ProjectName>MpegSplitter</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <Import Project="..\..\..\platform.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Filter|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfMfc>Static</UseOfMfc>
@@ -118,10 +120,6 @@ <PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug Filter|Win32'">$(SolutionDir)bin\Filters_x86_Debug\</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug Filter|x64'">$(SolutionDir)bin\Filters_x64_Debug\</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release Filter|Win32'">$(SolutionDir)bin\Filters_x86\</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release Filter|x64'">$(SolutionDir)bin\Filters_x64\</OutDir>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug Filter|Win32'">.ax</TargetExt>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release Filter|Win32'">.ax</TargetExt>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug Filter|x64'">.ax</TargetExt>
@@ -201,13 +199,13 @@ </ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\thirdparty\mfc\afxctrlcontainer.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release' or '$(VisualStudioVersion)'=='11.0'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\thirdparty\mfc\afxglobals.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release' or '$(VisualStudioVersion)'=='11.0'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\thirdparty\mfc\winmdi.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release' or '$(VisualStudioVersion)'=='11.0'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="MpegSplitter.cpp" />
<ClCompile Include="MpegSplitterFile.cpp" />
|