diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2011-08-09 22:43:42 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2011-08-09 22:43:42 +0400 |
commit | 34315757fc06d3200580649a7d97da6417046063 (patch) | |
tree | aef9820d77c69b6f5ec2d60f31302ff9dbf821f0 /src/filters/parser/AviSplitter | |
parent | 3fdb38a13726e6890e84225900e1c3915bbac953 (diff) |
* simplify ExcludedFromBuild Condition
* set "resource.h" as ClInclude in all projects and exclude it where it's not needed
* fix a C4305 warning introduced in r3620
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3624 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/AviSplitter')
-rw-r--r-- | src/filters/parser/AviSplitter/AviSplitter.vcxproj | 21 | ||||
-rw-r--r-- | src/filters/parser/AviSplitter/AviSplitter.vcxproj.filters | 8 |
2 files changed, 10 insertions, 19 deletions
diff --git a/src/filters/parser/AviSplitter/AviSplitter.vcxproj b/src/filters/parser/AviSplitter/AviSplitter.vcxproj index ddeb56364..6798f1b1c 100644 --- a/src/filters/parser/AviSplitter/AviSplitter.vcxproj +++ b/src/filters/parser/AviSplitter/AviSplitter.vcxproj @@ -231,16 +231,13 @@ </ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\thirdparty\mfc\afxctrlcontainer.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)'=='Release'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)'=='Debug'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\thirdparty\mfc\afxglobals.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)'=='Release'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)'=='Debug'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\thirdparty\mfc\winmdi.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)'=='Release'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)'=='Debug'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="AviFile.cpp" />
<ClCompile Include="AviReportWnd.cpp" />
@@ -263,18 +260,14 @@ <ClInclude Include="AviFile.h" />
<ClInclude Include="AviReportWnd.h" />
<ClInclude Include="AviSplitter.h" />
- <CustomBuildStep Include="resource.h">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- </CustomBuildStep>
+ <ClInclude Include="resource.h">
+ <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">true</ExcludedFromBuild>
+ </ClInclude>
<ClInclude Include="stdafx.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="AviSplitter.rc">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">true</ExcludedFromBuild>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
diff --git a/src/filters/parser/AviSplitter/AviSplitter.vcxproj.filters b/src/filters/parser/AviSplitter/AviSplitter.vcxproj.filters index cf151abcf..fe799baac 100644 --- a/src/filters/parser/AviSplitter/AviSplitter.vcxproj.filters +++ b/src/filters/parser/AviSplitter/AviSplitter.vcxproj.filters @@ -52,6 +52,9 @@ <ClInclude Include="AviSplitter.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="resource.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="stdafx.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -61,9 +64,4 @@ <Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
- <ItemGroup>
- <CustomBuildStep Include="resource.h">
- <Filter>Header Files</Filter>
- </CustomBuildStep>
- </ItemGroup>
</Project>
\ No newline at end of file |