diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-02-14 14:54:25 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-02-14 14:54:25 +0300 |
commit | 32d37e042950fe13c11bb2a01e225c5ce993c4d9 (patch) | |
tree | c7b5e5396679f6613ddf202051ec4f2beda4d132 /src/filters/transform/vsfilter | |
parent | 30bd0347bfce81fe13462a70e203775db30813c3 (diff) |
-Added /MP switch in all filters
-Fixed some standalone filters dependencies
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1657 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/vsfilter')
-rw-r--r-- | src/filters/transform/vsfilter/VSFilter.vcproj | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/filters/transform/vsfilter/VSFilter.vcproj b/src/filters/transform/vsfilter/VSFilter.vcproj index 15b03ddc5..6446eb649 100644 --- a/src/filters/transform/vsfilter/VSFilter.vcproj +++ b/src/filters/transform/vsfilter/VSFilter.vcproj @@ -28,6 +28,7 @@ >
<Tool
Name="VCPreBuildEventTool"
+ CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\..\include\Version.h
echo. >>..\..\..\..\include\Version.h
echo #define DO_MAKE_STR(x) #x >>..\..\..\..\include\Version.h
echo #define MAKE_STR(x) DO_MAKE_STR(x) >>..\..\..\..\include\Version.h
echo. >>..\..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\..\include\Version.h

:End

if exist ..\..\..\..\include\UserConfig.h goto SpecificConfig
echo #pragma once >..\..\..\..\include\UserConfig.h
echo //#ifdef ENABLE_MINIDUMP >>..\..\..\..\include\UserConfig.h

:SpecificConfig
"
/>
<Tool
Name="VCCustomBuildTool"
@@ -43,6 +44,7 @@ />
<Tool
Name="VCCLCompilerTool"
+ AdditionalOptions="/MP"
AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\..\include\virtualdub;..\..\BaseClasses"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_USRDLL;ISOLATION_AWARE_ENABLED;_WIN32_WINNT=0x0600"
/>
@@ -100,6 +102,7 @@ >
<Tool
Name="VCPreBuildEventTool"
+ CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\..\include\Version.h
echo. >>..\..\..\..\include\Version.h
echo #define DO_MAKE_STR(x) #x >>..\..\..\..\include\Version.h
echo #define MAKE_STR(x) DO_MAKE_STR(x) >>..\..\..\..\include\Version.h
echo. >>..\..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\..\include\Version.h

:End

if exist ..\..\..\..\include\UserConfig.h goto SpecificConfig
echo #pragma once >..\..\..\..\include\UserConfig.h
echo //#ifdef ENABLE_MINIDUMP >>..\..\..\..\include\UserConfig.h

:SpecificConfig
"
/>
<Tool
Name="VCCustomBuildTool"
@@ -171,7 +174,7 @@ >
<Tool
Name="VCPreBuildEventTool"
- CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\..\include\Version.h

:End

if exist ..\..\..\..\include\UserConfig.h goto SpecificConfig
echo #pragma once >..\..\..\..\include\UserConfig.h
echo //#ifdef ENABLE_MINIDUMP >>..\..\..\..\include\UserConfig.h

:SpecificConfig
"
+ CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\..\include\Version.h
echo. >>..\..\..\..\include\Version.h
echo #define DO_MAKE_STR(x) #x >>..\..\..\..\include\Version.h
echo #define MAKE_STR(x) DO_MAKE_STR(x) >>..\..\..\..\include\Version.h
echo. >>..\..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\..\include\Version.h

:End

if exist ..\..\..\..\include\UserConfig.h goto SpecificConfig
echo #pragma once >..\..\..\..\include\UserConfig.h
echo //#ifdef ENABLE_MINIDUMP >>..\..\..\..\include\UserConfig.h

:SpecificConfig
"
/>
<Tool
Name="VCCustomBuildTool"
@@ -188,6 +191,7 @@ />
<Tool
Name="VCCLCompilerTool"
+ AdditionalOptions="/MP"
AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\..\include\virtualdub;..\..\BaseClasses"
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_USRDLL;ISOLATION_AWARE_ENABLED;_WIN32_WINNT=0x0600"
BufferSecurityCheck="true"
@@ -252,7 +256,7 @@ >
<Tool
Name="VCPreBuildEventTool"
- CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\..\include\Version.h

:End

if exist ..\..\..\..\include\UserConfig.h goto SpecificConfig
echo #pragma once >..\..\..\..\include\UserConfig.h
echo //#ifdef ENABLE_MINIDUMP >>..\..\..\..\include\UserConfig.h

:SpecificConfig
"
+ CommandLine="if not exist "%programfiles%\TortoiseSVN\bin\SubWCRev.exe" goto x64
"%programfiles%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:x64
if not exist "%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" goto NoChrisWillem
"%ProgramW6432%\TortoiseSVN\bin\SubWCRev.exe" ..\..\..\.. ..\..\..\..\include\SubWCRev.conf ..\..\..\..\include\Version.h
goto End

:NoChrisWillem
echo #pragma once >..\..\..\..\include\Version.h
echo. >>..\..\..\..\include\Version.h
echo #define DO_MAKE_STR(x) #x >>..\..\..\..\include\Version.h
echo #define MAKE_STR(x) DO_MAKE_STR(x) >>..\..\..\..\include\Version.h
echo. >>..\..\..\..\include\Version.h
echo #define VERSION_MAJOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_MINOR 1 >>..\..\..\..\include\Version.h
echo #define VERSION_REV 666 >>..\..\..\..\include\Version.h
echo #define VERSION_PATCH 0 >>..\..\..\..\include\Version.h

:End

if exist ..\..\..\..\include\UserConfig.h goto SpecificConfig
echo #pragma once >..\..\..\..\include\UserConfig.h
echo //#ifdef ENABLE_MINIDUMP >>..\..\..\..\include\UserConfig.h

:SpecificConfig
"
/>
<Tool
Name="VCCustomBuildTool"
@@ -269,6 +273,7 @@ />
<Tool
Name="VCCLCompilerTool"
+ AdditionalOptions="/MP"
AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\..\include\virtualdub;..\..\BaseClasses"
PreprocessorDefinitions="WIN64;NDEBUG;_USRDLL;ISOLATION_AWARE_ENABLED;_WIN32_WINNT=0x0600"
BufferSecurityCheck="true"
|