From e1660f3ac99b45b0991fbc0f4ecc5d79138fa0e1 Mon Sep 17 00:00:00 2001 From: shuffle2 Date: Thu, 3 Sep 2015 22:21:24 -0700 Subject: [PATCH] updated for pure-vs2015 mode 8) --- Building-for-Windows.md | 43 +++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/Building-for-Windows.md b/Building-for-Windows.md index 90b376c..fa4fe4d 100644 --- a/Building-for-Windows.md +++ b/Building-for-Windows.md @@ -1,42 +1,39 @@ ## Prerequisites ---- - Windows Vista or higher, 64-bit version. - [Visual Studio 2015](https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx) - - Dolphin does not require any of the optional packages offered by the Visual Studio 2015 installer, you may uncheck them all. -- Git is integrated into Visual Studio, and as such an external client is not required. However, you'll probably want one anyways for better control. [Git Extensions](http://sourceforge.net/projects/gitextensions/) (check MsysGit in the installer, and select "Run Git from the Windows Command Prompt") or [the official git commandline package](http://git-scm.com/download/win) are recommended, although any other Git tool should work. - - If you get issues with scmrev.h, add the directory containing git to the PATH environment variable (and logoff/login or otherwise refresh the PATH variable in use). + - You can use any version of VS (Community Edition is free). + - Recommended packages for installation: + ![Visual Studio Options](https://raw.githubusercontent.com/wiki/dolphin-emu/dolphin/vs-options.png) ## Get & Build Dolphin ---- -### Cloning (with Git Extensions) +### Cloning -1. Open Git Extensions and select Clone repository. +1. Open the Team Explorer and choose "Clone" under "Local Git Repositories". 2. Enter repository URL as it appears on the [Github project page](https://github.com/dolphin-emu/dolphin) 3. Click Clone to start downloading. -4. Protip: Enable NTFS compression on the root of your source directory. +4. Protips: + - Enable NTFS compression on the root of your source directory. + - Store the sources on the fastest disk as possible (e.g. fast SSD). + +#### Cloning (Qt Dependencies) + +If you want to build the DolphinQt project, and do not already have Qt SDK installed, you should get the required dependencies from a submodule provided for dolphin. +In Team Explorer, go to Changes > Actions > Open Command Prompt and execute `git submodule update --init --recursive`. +If you do not care about DolphinQt, you can just right click on the project and click "Unload Project". ### Building 1. Open Source/dolphin-emu.sln. -2. Select the target you'd like to build. ![Target Example](http://wiki.dolphin-emu.googlecode.com/git/build/vs2013-build-configuration.png) + - You can also find a link to this file in Team Explorer: + ![VS Open Solution](https://raw.githubusercontent.com/wiki/dolphin-emu/dolphin/vs-open-solution.png). +2. Select the target you'd like to build: + ![Target Example](https://raw.githubusercontent.com/wiki/dolphin-emu/dolphin/vs-target.png) 3. Press F7 or choose Build > Build Solution from the menu bar. ## Keeping up to date ---- -When you want to update to the latest revision: - -### Git Extensions - -1. Right click the dolphin-emu folder and choose Git Extensions -> Pull -2. Make sure you are pulling from "origin" and click Pull. - - -### Visual Studio - -1. Go to the Team Explorer window and choose Pull. - -![VS Pull Example](http://wiki.dolphin-emu.googlecode.com/git/build/vs2013-git-pull.png) \ No newline at end of file +1. Go to the Team Explorer window and choose Pull. + ![VS Pull Example](https://raw.githubusercontent.com/wiki/dolphin-emu/dolphin/vs-git-pull.png) \ No newline at end of file