From 0cbe3953bb56922898b7a474cc3cd0a28f3cb168 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Wed, 1 Jan 2014 17:51:20 +0100 Subject: [PATCH] Fixed compilation under VS2012. --- LameXP_VS2012.vcxproj | 55 ++++++++++++++++++++++++++++++++--- LameXP_VS2012.vcxproj.filters | 45 ++++++++++++++++++++++++++-- src/Config.h | 6 ++-- src/Global_Version.cpp | 4 ++- 4 files changed, 99 insertions(+), 11 deletions(-) diff --git a/LameXP_VS2012.vcxproj b/LameXP_VS2012.vcxproj index ba58e2e3..86c6f7f0 100644 --- a/LameXP_VS2012.vcxproj +++ b/LameXP_VS2012.vcxproj @@ -301,6 +301,7 @@ del "$(TargetDir)imageformats\q???d4.dll" + @@ -311,7 +312,12 @@ del "$(TargetDir)imageformats\q???d4.dll" - + + + + + + @@ -327,6 +333,7 @@ del "$(TargetDir)imageformats\q???d4.dll" + @@ -359,6 +366,7 @@ del "$(TargetDir)imageformats\q???d4.dll" + @@ -372,6 +380,7 @@ del "$(TargetDir)imageformats\q???d4.dll" + @@ -389,6 +398,7 @@ del "$(TargetDir)imageformats\q???d4.dll" + @@ -547,7 +557,29 @@ del "$(TargetDir)imageformats\q???d4.dll" $(SolutionDir)tmp\MOC_%(Filename).cpp;%(Outputs) $(SolutionDir)tmp\MOC_%(Filename).cpp;%(Outputs) + + "$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\MOC_%(Filename).cpp" "%(FullPath)" + "$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\MOC_%(Filename).cpp" "%(FullPath)" + "$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\MOC_%(Filename).cpp" "%(FullPath)" + MOC "$(SolutionDir)tmp\MOC_%(Filename).cpp" + MOC "$(SolutionDir)tmp\MOC_%(Filename).cpp" + MOC "$(SolutionDir)tmp\MOC_%(Filename).cpp" + $(SolutionDir)tmp\MOC_%(Filename).cpp;%(Outputs) + $(SolutionDir)tmp\MOC_%(Filename).cpp;%(Outputs) + $(SolutionDir)tmp\MOC_%(Filename).cpp;%(Outputs) + + + "$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\MOC_%(Filename).cpp" "%(FullPath)" + "$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\MOC_%(Filename).cpp" "%(FullPath)" + "$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\MOC_%(Filename).cpp" "%(FullPath)" + MOC "$(SolutionDir)tmp\MOC_%(Filename).cpp" + MOC "$(SolutionDir)tmp\MOC_%(Filename).cpp" + MOC "$(SolutionDir)tmp\MOC_%(Filename).cpp" + $(SolutionDir)tmp\MOC_%(Filename).cpp;%(Outputs) + $(SolutionDir)tmp\MOC_%(Filename).cpp;%(Outputs) + $(SolutionDir)tmp\MOC_%(Filename).cpp;%(Outputs) + "$(QTDIR)\bin\moc.exe" -o "$(SolutionDir)tmp\MOC_%(Filename).cpp" "%(FullPath)" @@ -1048,17 +1080,20 @@ del "$(TargetDir)imageformats\q???d4.dll" RCC "$(SolutionDir)tmp\QRC_%(Filename).cpp" "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\QRC_%(Filename).cpp" -name "%(Filename)" "%(FullPath)" - $(ProjectDir)\res\localization\LameXP_DE.qm;%(AdditionalInputs) + + $(SolutionDir)tmp\QRC_%(Filename).cpp;%(Outputs) RCC "$(SolutionDir)tmp\QRC_%(Filename).cpp" "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\QRC_%(Filename).cpp" -name "%(Filename)" "%(FullPath)" - $(ProjectDir)\res\localization\LameXP_DE.qm;%(AdditionalInputs) + + $(SolutionDir)tmp\QRC_%(Filename).cpp;%(Outputs) RCC "$(SolutionDir)tmp\QRC_%(Filename).cpp" "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\QRC_%(Filename).cpp" -name "%(Filename)" "%(FullPath)" - %(AdditionalInputs) + + $(SolutionDir)tmp\QRC_%(Filename).cpp;%(Outputs) @@ -1292,6 +1327,18 @@ del "$(TargetDir)imageformats\q???d4.dll" $(SolutionDir)tmp\QRC_%(Filename).cpp;%(Outputs) $(SolutionDir)tmp\QRC_%(Filename).cpp;%(Outputs) + + Document + "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\QRC_%(Filename).cpp" -name "%(Filename)" "%(FullPath)" + "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\QRC_%(Filename).cpp" -name "%(Filename)" "%(FullPath)" + "$(QTDIR)\bin\rcc.exe" -o "$(SolutionDir)tmp\QRC_%(Filename).cpp" -name "%(Filename)" "%(FullPath)" + RCC "$(SolutionDir)tmp\QRC_%(Filename).cpp" + RCC "$(SolutionDir)tmp\QRC_%(Filename).cpp" + RCC "$(SolutionDir)tmp\QRC_%(Filename).cpp" + $(SolutionDir)tmp\QRC_%(Filename).cpp;%(Outputs) + $(SolutionDir)tmp\QRC_%(Filename).cpp;%(Outputs) + $(SolutionDir)tmp\QRC_%(Filename).cpp;%(Outputs) + diff --git a/LameXP_VS2012.vcxproj.filters b/LameXP_VS2012.vcxproj.filters index 15376c10..09800c05 100644 --- a/LameXP_VS2012.vcxproj.filters +++ b/LameXP_VS2012.vcxproj.filters @@ -1,9 +1,6 @@  - - Source Files - Source Files @@ -400,6 +397,39 @@ Generated Files\QRC + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files\Threads + + + Generated Files\MOC + + + Source Files\Encoders + + + Generated Files\MOC + + + Generated Files\QRC + @@ -737,6 +767,15 @@ Resources + + Header Files\Threads + + + Header Files\Encoders + + + Resources + diff --git a/src/Config.h b/src/Config.h index 04c5c014..077059df 100644 --- a/src/Config.h +++ b/src/Config.h @@ -33,9 +33,9 @@ #define VER_LAMEXP_MAJOR 4 #define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_LO 9 -#define VER_LAMEXP_TYPE Alpha -#define VER_LAMEXP_PATCH 10 -#define VER_LAMEXP_BUILD 1512 +#define VER_LAMEXP_TYPE Beta +#define VER_LAMEXP_PATCH 1 +#define VER_LAMEXP_BUILD 1514 #define VER_LAMEXP_CONFG 1348 /////////////////////////////////////////////////////////////////////////////// diff --git a/src/Global_Version.cpp b/src/Global_Version.cpp index 8cdf6477..7157afea 100644 --- a/src/Global_Version.cpp +++ b/src/Global_Version.cpp @@ -122,8 +122,10 @@ static const unsigned int g_lamexp_toolver_coreaudio = VER_LAMEXP_TOOL_COREAUDIO static const char *g_lamexp_version_compiler = "MSVC 2012.1"; #elif (_MSC_FULL_VER < 170060610) static const char *g_lamexp_version_compiler = "MSVC 2012.2"; - #elif (_MSC_FULL_VER == 170060610) + #elif (_MSC_FULL_VER < 170061030) static const char *g_lamexp_version_compiler = "MSVC 2012.3"; + #elif (_MSC_FULL_VER == 170061030) + static const char *g_lamexp_version_compiler = "MSVC 2012.4"; #else #error Compiler version is not supported yet! #endif