update for vs2017

shuffle2 2017-06-01 23:08:15 -07:00
parent b26d07722e
commit ba452988b8
1 changed files with 23 additions and 22 deletions

@ -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)
3. Press F7 or choose Build > Build Solution from the menu bar.