Upgraded project to VS2012 (Update 1)

This commit is contained in:
Birunthan Mohanathas 2012-12-18 20:01:19 +02:00
parent 52e1f1c6b4
commit cabc5f00a4
6 changed files with 30 additions and 30 deletions

View File

@ -1,7 +1,7 @@
@echo off @echo off
setlocal EnableDelayedExpansion setlocal EnableDelayedExpansion
set VCVARSALL=%PROGRAMFILES%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat set VCVARSALL=%PROGRAMFILES%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat
set MAKENSIS=%PROGRAMFILES%\NSIS\MakeNSIS.exe set MAKENSIS=%PROGRAMFILES%\NSIS\MakeNSIS.exe
set SUBWCREV=%PROGRAMFILES%\TortoiseSVN\bin\SubWCRev.exe set SUBWCREV=%PROGRAMFILES%\TortoiseSVN\bin\SubWCRev.exe
set GIT=%PROGRAMFILES%\Git\bin\git.exe set GIT=%PROGRAMFILES%\Git\bin\git.exe

View File

@ -1,35 +1,28 @@
Building Building
-------------------------- --------------------------
Note: If you already have any paid version of Visual Studio 2010 installed (e.g. Professional, Premium, Ultimate, etc.), simply open Rainmeter.sln to build (and skip the instructions below). Rainmeter can be built using the free Visual Studio Express 2012 for Windows Desktop
or any paid version of VS2012 (e.g. Professional).
* To build Rainmeter and C++ plugins, install the following tools in the listed order: The free VS2012 Express for Windows Desktop is available for download from:
1. Visual C++ 2010 Express Edition http://microsoft.com/visualstudio/eng/products/visual-studio-express-for-windows-desktop
2. Visual Studio 2010 SP1 (yes, this is for Visual C++ 2010 as well)
3. Windows 7.1 SDK
4. KB2519277 compiler update
5. Open RainmeterCPP.sln to build.
* To build Rainmeter, C/C++ plugins, and C# plugins, install the following tools in the listed order: VS2012 Update 1 is also required for Windows XP targeting support. It is available
1. Visual C++ 2010 Express Edition from:
2. Visual C# 2010 Express Edition http://microsoft.com/visualstudio/eng/downloads#d-visual-studio-2012-update
3. Visual Studio 2010 SP1 (yes, this is for Visual C++/C# 2010 as well)
4. Windows 7.1 SDK
5. KB2519277 compiler update
6. Open Rainmeter.sln to build.
* To build only C# plugins, install the following tools in the listed order: Once both Visual Studio and Update 1 have been installed, open Rainmeter.sln to build
7. Visual C# 2010 Express Edition projects.
8. Visual Studio 2010 SP1 (yes, this is for Visual C++/C# 2010 as well)
9. Open RainmeterCS.sln to build.
Building installer Building installer
-------------------------- --------------------------
To build the full Rainmeter distribution, run Build.bat. If you receive "not found" errors, open Build.bat and change the variables at the top to match your system. To build the full Rainmeter distribution, run Build.bat. If you receive "not found"
errors, open Build.bat and change the variables at the top to match your system.
To sign the installer and the Rainmeter executables, create a Certificate.bat file alongside Build.bat with the following contents: To sign the installer and the Rainmeter executables, create a Certificate.bat file
alongside Build.bat with the following contents:
set CERTFILE=/path/to/PFXcert.p12 set CERTFILE=/path/to/PFXcert.p12
set CERTKEY=certpassword set CERTKEY=certpassword
@ -38,10 +31,15 @@ To sign the installer and the Rainmeter executables, create a Certificate.bat fi
Building old versions Building old versions
-------------------------- --------------------------
The Rainmeter GitHub repository does not contain the full source code history required to build the installer for versions prior to r1249. To obtain the full source from r1 to r1248, use the old Google Code SVN repository located at: The Rainmeter GitHub repository does not contain the full source code history required
to build the installer for versions prior to r1249. To obtain the full source from r1
to r1248, use the old Google Code SVN repository located at:
http://rainmeter.googlecode.com/svn http://rainmeter.googlecode.com/svn
The build instructions above are applicable to r1130 - r1248. Build instructions for r27 - r1129 can be found in svn/wiki/. The build instructions above are applicable to r1130 - r1248. Build instructions for
r27 - r1129 can be found in svn/wiki/.
The language files for r963 - r1214 were in a separate repository (svn:externals), which is not available any longer. As a result, the language .dll's for those revisions cannot be built. The language files for r963 - r1214 were in a separate repository (svn:externals),
which is not available any longer. As a result, the language .dll's for those revisions
cannot be built.

View File

@ -21,6 +21,7 @@
<PropertyGroup Label="Configuration"> <PropertyGroup Label="Configuration">
<CharacterSet>Unicode</CharacterSet> <CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110_xp</PlatformToolset>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries> <UseDebugLibraries>true</UseDebugLibraries>

View File

@ -1,6 +1,6 @@
 
Microsoft Visual Studio Solution File, Format Version 11.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2010 # Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Application", "Application\Application.vcxproj", "{D2A0903C-E760-4134-AE61-3D55BF8F760C}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Application", "Application\Application.vcxproj", "{D2A0903C-E760-4134-AE61-3D55BF8F760C}"
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Language", "Language\Language.vcxproj", "{6BE6F228-B741-4DA9-9FBC-E9F2A7BD483A}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Language", "Language\Language.vcxproj", "{6BE6F228-B741-4DA9-9FBC-E9F2A7BD483A}"

View File

@ -1,5 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Application", "Application\Application.vcxproj", "{D2A0903C-E760-4134-AE61-3D55BF8F760C}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Application", "Application\Application.vcxproj", "{D2A0903C-E760-4134-AE61-3D55BF8F760C}"
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Language", "Language\Language.vcxproj", "{6BE6F228-B741-4DA9-9FBC-E9F2A7BD483A}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Language", "Language\Language.vcxproj", "{6BE6F228-B741-4DA9-9FBC-E9F2A7BD483A}"

View File

@ -1,6 +1,6 @@
 
Microsoft Visual Studio Solution File, Format Version 11.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual C# Express 2010 # Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DllExporter", "Plugins\API\DllExporter\DllExporter.csproj", "{49D56CA5-54AB-45C9-A245-EAE588FCBFE1}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DllExporter", "Plugins\API\DllExporter\DllExporter.csproj", "{49D56CA5-54AB-45C9-A245-EAE588FCBFE1}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluginInputText", "Plugins\PluginInputText\PluginInputText.csproj", "{2CFEC79A-E39E-4FFD-ABC2-C4A69DD1E44D}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluginInputText", "Plugins\PluginInputText\PluginInputText.csproj", "{2CFEC79A-E39E-4FFD-ABC2-C4A69DD1E44D}"