Changes between Version 309 and Version 310 of BuildInstructions
- Timestamp:
- Nov 29, 2017, 10:18:32 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructions
v309 v310 31 31 If you want to develop, the only supported IDEs are: 32 32 33 * Visual C++ 2013 33 * Visual C++ 2013 (default compiler, used in official builds of the game) 34 * Visual C++ 2015 (recommended for developers as we will soon drop support for VS 2013) 34 35 35 36 '''Important notes:''' 36 37 37 38 * We have dropped support for older versions of Visual Studio when moving to C++11, see #2669. 38 * XP and Vista are supported as targets, but not for installing Visual Studio 2013 .39 * XP and Vista are supported as targets, but not for installing Visual Studio 2013/2015. 39 40 * Only 32-bit builds are supported, though they can be compiled and run on 64-bit Windows. 40 41 … … 52 53 53 54 === Setting up the build environment === 54 The game must be compiled with Microsoft Visual C++. You can get the free Express edition here: [http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx Visual Studio Express 2013](outdated). Choose the version for "Windows Desktop". There is also the free [https://go.microsoft.com/fwlink/?LinkId=517284 Community Edition], which has all the features of the Professional version for open source development.55 The game must be compiled with Microsoft Visual C++. You can get the free 2015 Community edition, or 2013 Express edition, here: [https://www.visualstudio.com/fr/vs/older-downloads/ Visual Studio older downloads]. You can also install Visual Studio 2017 and choose to install the 2015 compiler (version 14.0). 55 56 56 57 The Visual Studio project/solution files are automatically generated from the source files: 57 58 58 59 * Run `cd build\workspaces` and then [source:/ps/trunk/build/workspaces/update-workspaces.bat update-workspaces.bat]. 59 * Open `build\workspaces\vc201 3\pyrogenesis.sln`.60 * Open `build\workspaces\vc2015\pyrogenesis.sln` (or `vc2013` for the older version). 60 61 61 62 === Build configuration === 62 Make sure to select the "Release" configuration to build an optimi sed, more playable version of the game (the target will be `pyrogenesis.exe`). The "Debug" configuration can be more useful for debugging but has significantly reduced performance (the target will be `pyrogenesis_dbg.exe`). Both "Release" and "Debug" builds include debug symbols, see [wiki:Debugging] and [wiki:DebuggingOnWindows Debugging on Windows] for more details on debugging.63 Make sure to select the "Release" configuration to build an optimized, more playable version of the game (the target will be `pyrogenesis.exe`). The "Debug" configuration can be more useful for debugging but has significantly reduced performance (the target will be `pyrogenesis_dbg.exe`). Both "Release" and "Debug" builds include debug symbols, see [wiki:Debugging] and [wiki:DebuggingOnWindows Debugging on Windows] for more details on debugging. 63 64 64 65 Now you should be able to build the code from within Visual Studio, using "Build Solution" (F7).