From f5f3bc4e60c04482c08e087218346f20e348c7a9 Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Sat, 25 Jul 2015 15:39:52 +0100 Subject: [PATCH] wxWidgets3.0: Always include correct manifest If pcsx2 is compiled for 32-bits and then compiled for 64-bits without cleaning the build files, the wrong wx3.0 manifest will be included. The same will happen vice versa. Place the generated rcdefs.h file in a platform specific directory so the correct manifest will always be used. --- .../build/msw/wx30_config_vs2012.vcxproj | 48 +++++++++---------- .../build/msw/wx30_config_vs2013.vcxproj | 48 +++++++++---------- pcsx2/windows/VCprojects/pcsx2_vs2012.vcxproj | 6 ++- pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj | 6 ++- 4 files changed, 58 insertions(+), 50 deletions(-) diff --git a/3rdparty/wxwidgets3.0/build/msw/wx30_config_vs2012.vcxproj b/3rdparty/wxwidgets3.0/build/msw/wx30_config_vs2012.vcxproj index efc36afdd1..dfd08545ba 100644 --- a/3rdparty/wxwidgets3.0/build/msw/wx30_config_vs2012.vcxproj +++ b/3rdparty/wxwidgets3.0/build/msw/wx30_config_vs2012.vcxproj @@ -130,30 +130,30 @@ ..\..\include\wx\setup.h;%(Outputs) - Creating ..\..\include\wx\msw\rcdefs.h - Creating ..\..\include\wx\msw\rcdefs.h - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw;%(AdditionalInputs) - ..\..\include\wx\msw;%(AdditionalInputs) - Creating ..\..\include\wx\msw\rcdefs.h - Creating ..\..\include\wx\msw\rcdefs.h - Creating ..\..\include\wx\msw\rcdefs.h - Creating ..\..\include\wx\msw\rcdefs.h - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw;%(AdditionalInputs) - ..\..\include\wx\msw;%(AdditionalInputs) - ..\..\include\wx\msw;%(AdditionalInputs) - ..\..\include\wx\msw;%(AdditionalInputs) + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) diff --git a/3rdparty/wxwidgets3.0/build/msw/wx30_config_vs2013.vcxproj b/3rdparty/wxwidgets3.0/build/msw/wx30_config_vs2013.vcxproj index 4034da3d52..4b86ce2272 100644 --- a/3rdparty/wxwidgets3.0/build/msw/wx30_config_vs2013.vcxproj +++ b/3rdparty/wxwidgets3.0/build/msw/wx30_config_vs2013.vcxproj @@ -130,30 +130,30 @@ ..\..\include\wx\setup.h;%(Outputs) - Creating ..\..\include\wx\msw\rcdefs.h - Creating ..\..\include\wx\msw\rcdefs.h - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw;%(AdditionalInputs) - ..\..\include\wx\msw;%(AdditionalInputs) - Creating ..\..\include\wx\msw\rcdefs.h - Creating ..\..\include\wx\msw\rcdefs.h - Creating ..\..\include\wx\msw\rcdefs.h - Creating ..\..\include\wx\msw\rcdefs.h - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - cl /EP /nologo "%(Identity)" > "..\..\include\wx\msw\rcdefs.h" - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw\rcdefs.h;%(Outputs) - ..\..\include\wx\msw;%(AdditionalInputs) - ..\..\include\wx\msw;%(AdditionalInputs) - ..\..\include\wx\msw;%(AdditionalInputs) - ..\..\include\wx\msw;%(AdditionalInputs="") + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + cl /EP /nologo "%(Identity)" > "..\..\$(PlatformName)\wx\msw\rcdefs.h" + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs) + ..\..\$(PlatformName)\wx\msw;%(AdditionalInputs="") diff --git a/pcsx2/windows/VCprojects/pcsx2_vs2012.vcxproj b/pcsx2/windows/VCprojects/pcsx2_vs2012.vcxproj index 82fc983795..924c2164ff 100644 --- a/pcsx2/windows/VCprojects/pcsx2_vs2012.vcxproj +++ b/pcsx2/windows/VCprojects/pcsx2_vs2012.vcxproj @@ -883,7 +883,11 @@ - + + $(SolutionDir)\3rdparty\wxwidgets3.0\$(PlatformName);$(SolutionDir)\3rdparty\wxwidgets3.0\include;%(AdditionalIncludeDirectories) + $(SolutionDir)\3rdparty\wxwidgets3.0\$(PlatformName);$(SolutionDir)\3rdparty\wxwidgets3.0\include;%(AdditionalIncludeDirectories) + $(SolutionDir)\3rdparty\wxwidgets3.0\$(PlatformName);$(SolutionDir)\3rdparty\wxwidgets3.0\include;%(AdditionalIncludeDirectories) + diff --git a/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj b/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj index abb18f1149..08043ba2c1 100644 --- a/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj +++ b/pcsx2/windows/VCprojects/pcsx2_vs2013.vcxproj @@ -883,7 +883,11 @@ - + + $(SolutionDir)\3rdparty\wxwidgets3.0\$(PlatformName);$(SolutionDir)\3rdparty\wxwidgets3.0\include;%(AdditionalIncludeDirectories) + $(SolutionDir)\3rdparty\wxwidgets3.0\$(PlatformName);$(SolutionDir)\3rdparty\wxwidgets3.0\include;%(AdditionalIncludeDirectories) + $(SolutionDir)\3rdparty\wxwidgets3.0\$(PlatformName);$(SolutionDir)\3rdparty\wxwidgets3.0\include;%(AdditionalIncludeDirectories) +