From ba452988b8e77ac5d47cc7e550582b3316fe14f9 Mon Sep 17 00:00:00 2001 From: shuffle2 Date: Thu, 1 Jun 2017 23:08:15 -0700 Subject: [PATCH] update for vs2017 --- Building-for-Windows.md | 45 +++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/Building-for-Windows.md b/Building-for-Windows.md index 210e06e..69d3123 100644 --- a/Building-for-Windows.md +++ b/Building-for-Windows.md @@ -1,39 +1,40 @@ ## Prerequisites - -- Windows 7 or higher, 64-bit version -- [Windows 10 SDK, version 10.0.15063.0](https://developer.microsoft.com/en-us/windows/downloads/sdk-archive) (even if you don't have Windows 10) +- Windows 7 SP1 or higher, 64-bit version - [Visual Studio 2017](https://www.visualstudio.com/downloads/) - 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) + - Minimum components to install for building and basic debugging: + ![Visual Studio Options](https://raw.githubusercontent.com/wiki/dolphin-emu/dolphin/vs-options.png) + - Required to get source and build: + - Git for Windows (Note: [The standalone git installer](https://git-scm.com/download/win) is more recent and is compatible with VS) + - Latest VC++ toolset (x64) + - Latest Windows SDK for Desktop C++ x64 + - Recommended (development / debugging) + - Just-In-Time debugger + - C++ profiling tools (pulls in graphics debugging features) + - Profiling tools + - Testing tools core features + - Recommended (other) + - GitHub extension for Visual Studio ## Get and Build Dolphin ### Cloning - 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. Protips: - - Enable NTFS compression on the root of your source directory. - - Store the sources on the fastest disk as possible (e.g. fast SSD). + - Enable NTFS compression on the root of your source directory (saves a lot of space with negligible perf overhead). + - Store the sources on the fastest disk as possible (e.g. fast SSD). + +You may of course eschew the Visual Studio git integration and use any method of dealing with git outside of Visual Studio. ### Qt Dependencies - -* If you want to build the DolphinQt project, 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". +* If you want to build the DolphinQt2 project, 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 DolphinQt2, you can just right click on the project and click "Unload Project". ### Building - 1. Open Source/dolphin-emu.sln. - - 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: +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 - -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 +3. Press F7 or choose Build > Build Solution from the menu bar. \ No newline at end of file