Add detailed cmake instructions

Pierre de La Morinerie 2015-08-01 20:09:53 +02:00
parent d0c8f8639c
commit d080953b75
1 changed files with 9 additions and 1 deletions

@ -19,12 +19,20 @@ To build with CMake (optionally verbose): Download and install [CMake](http://ww
#### CMake Notes
To build Dolphin from scratch using CMake,
```bash
mkdir -p build
cd build
cmake ..
make
```
The `-j` option can be passed to `make` in order to compile multiple objects at once.
A good rule of thumb is number of CPU cores plus one. For example, on a quad core CPU `make -j5` would be a good choice.
You can execute `cmake -L` to view the options that Dolphin's CMake environment supports, as well as their current and possible settings.
If you have any problems compiling, use the verbose option (shown above) to give more detail. If you report a problem, at a minimum include the last screen-full of lines.
If you have any problems compiling, use the verbose option (`make VERBOSE=1`) to give more detail. If you report a problem, at a minimum include the last screen-full of lines.
## Optional: Ninja