diff --git a/Windows-Build.md b/Windows-Build.md new file mode 100644 index 0000000..1ce1a5e --- /dev/null +++ b/Windows-Build.md @@ -0,0 +1,27 @@ +## Minimal Dependencies + +On Windows, all light-weight dependencies are automatically included within the "externals" folder. To build the minimalist Citra (no Qt debugger), you simply need to install: + +* **Git** - I recommend [msysgit](http://msysgit.github.io/). After you've installed it, you need to have the [setup your system path](http://www.java.com/en/download/help/path.xml) to include Git (this is used to generate the scm_rev.cpp file) To do this: + * Right-click "Computer" and select Properties + * On the left-side menu, click "Advanced System Settings" + * On the "Advanced" tab of the "System Properties" window that appears, click the "Environment Variables" button + * In the "System Variables" list-box, find "PATH" and click the "Edit" button + * In the "Edit System Variable" window that appears, append "C:\msysgit\bin;C:\msysgit\mingw\bin;C:\msysgit\cmd;" (or wherever Git is installed on your machine) to the end of list of paths + * Click "OK", "OK", "OK" + * Open the command-prompt, and verify that if you enter "git --version", it says something like "git version 1.9.2.msysgit.0" (your version may be different, that's ok!) +* Visual Studio 2013 Express (Windows Desktop) - NOTE: Must be the "Windows Desktop" one, as the "Windows" one requires Windows 8 / metro mode + +## Debugger Dependencies + +For the debugger/Qt GUI, you'll to install [Qt 4.8.6](http://download.qt-project.org/official_releases/qt/4.8/4.8.6/qt-opensource-windows-x86-vs2010-4.8.6.exe): + +* Download the Qt SDK (1 GB, less when using the online installer) and install it. The only required component is Desktop Qt 4.8.6, but you'll also need Qt Designer if you want to modify Citra's user interface. Furthermore, Qt Examples, Qt SDK Documentation and Qt Assistant are quite useful for developing Qt applications. +* Set your QTDIR environment variable to the directory which contains the bin, include and lib folders (e.g. C:\Qt\4.8.6) +* For running Citra builds, you'll need to have QtCore4.dll and QtGui4.dll in either the application directory or in the system PATH. + +## Building + +* Open the solution file (citra.sln) in Visual Studio 2013 + * If you're just building minimalist Citra (and don't care about debugger), right-click the "citra_qt" project from "Solution Explorer" and click "Unload Project". This will cause the Qt frontend not to be built, which is helpful if you don't have Qt installed. +* Click "Build"->"Rebuild Solution" \ No newline at end of file