From d080953b75f3bb9eafdcdcc7b9828ebc495a7339 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Sat, 1 Aug 2015 20:09:53 +0200 Subject: [PATCH] Add detailed cmake instructions --- Building-for-OS-X.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Building-for-OS-X.md b/Building-for-OS-X.md index 11eaba9..6cc1cf1 100644 --- a/Building-for-OS-X.md +++ b/Building-for-OS-X.md @@ -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