Phil Nash | 7bb3e85 | 2017-01-09 16:27:23 +0000 | [diff] [blame] | 1 | The canonical project format is now CMake. |
| 2 | To generate an XCode or Visual Studio project you'll need CMake, which you can download from https://cmake.org if necessary. |
| 3 | |
| 4 | To generate the project files open a terminal/ console within the projects directory (where this file is located), create a directory called "Generated" (using mkdir or md), cd into it, then type: |
| 5 | |
| 6 | CMake -G <project format> ../.. |
| 7 | |
| 8 | Where <project format> is XCode for XCode projects, or "Visual Studio 14" for Visual Studio 2015 (replace 14 with the major version number for any other supported Visual Studio version - or execute CMake -help for the full list) |
| 9 | |
| 10 | Remember to re-run CMake any time you pull from GitHub. |
| 11 | Note that the projects/Generated folder is excluded in .gitignore. So it is recommended to use this. |
| 12 | |
| 13 | CMake can also generate make files or projects for other build systems. Run CMake -help for the full set of options. |