From 64dbfdce01d865f4c8dbf5ad0f65a66a61621383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Mon, 27 Jan 2014 17:27:01 +0100 Subject: [PATCH] update build instructions --- README.md | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 10f514826..58779708f 100644 --- a/README.md +++ b/README.md @@ -5,29 +5,12 @@ ## Mac OS X ``` -make +mkdir xcode +cd xcode +cmake .. -G Xcode ``` - -## Emscripten - -``` -emmake make emscripten -``` - -Note that mousewheel support requires a hacked emscripten: - -In `src/library_glfw.js`, replace the first part of the mousewheel function with - -```js - GLFW.wheelPos = (event.detail || -event.deltaY); -``` - -In `system/include/GL/glfw.h`, replace the wheel callback typedef with - -```c -typedef void (GLFWCALL * GLFWmousewheelfun)(float); -``` +Then open the xcode project and build.