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/transform/VSFilter/VSFilter.vcxproj | |
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/transform/VSFilter/VSFilter.vcxproj')
-rw-r--r-- | src/filters/transform/VSFilter/VSFilter.vcxproj | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/filters/transform/VSFilter/VSFilter.vcxproj b/src/filters/transform/VSFilter/VSFilter.vcxproj index 9231c0671..6771daada 100644 --- a/src/filters/transform/VSFilter/VSFilter.vcxproj +++ b/src/filters/transform/VSFilter/VSFilter.vcxproj @@ -22,8 +22,10 @@ <ProjectGuid>{F671100C-469F-4723-AAC4-B7FE4F5B8DC4}</ProjectGuid>
<RootNamespace>VSFilter</RootNamespace>
<Keyword>MFCProj</Keyword>
+ <ProjectName>VSFilter</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>
@@ -66,10 +68,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>
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug Filter|Win32'">false</GenerateManifest>
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release Filter|Win32'">false</GenerateManifest>
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug Filter|x64'">false</GenerateManifest>
@@ -128,9 +126,15 @@ </Link>
</ItemDefinitionGroup>
<ItemGroup>
- <ClCompile Include="..\..\..\thirdparty\mfc\afxctrlcontainer.cpp" />
- <ClCompile Include="..\..\..\thirdparty\mfc\afxglobals.cpp" />
- <ClCompile Include="..\..\..\thirdparty\mfc\winmdi.cpp" />
+ <ClCompile Include="..\..\..\thirdparty\mfc\afxctrlcontainer.cpp">
+ <ExcludedFromBuild Condition="'$(VisualStudioVersion)'=='11.0'">true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="..\..\..\thirdparty\mfc\afxglobals.cpp">
+ <ExcludedFromBuild Condition="'$(VisualStudioVersion)'=='11.0'">true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="..\..\..\thirdparty\mfc\winmdi.cpp">
+ <ExcludedFromBuild Condition="'$(VisualStudioVersion)'=='11.0'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="AvgLines.cpp" />
<ClCompile Include="Copy.cpp" />
<ClCompile Include="csriapi.cpp" />
|