From f7d5c1d25b1b1cabc4eac53ae1ab819399126bec Mon Sep 17 00:00:00 2001 From: pythoneer Date: Fri, 20 Feb 2015 21:24:55 +0100 Subject: [PATCH] Update README.md cmake additions --- README.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0832dbd..fb8108e 100644 --- a/README.md +++ b/README.md @@ -18,21 +18,16 @@ For a detailed example see main.cpp sim.mouseUp(XInputSimulator::LEFT_MOUSE_BUTTON); //release the mousebutton press ``` -building for Linux use -lX11 -lXtst | include X11/Xlib.h X11/Xutil.h -building for Mac use -framework ApplicationServices | include ApplicationServices/ApplicationServices.h -building for Win use User32.lib | include Windows.h +building for Linux use -lX11 -lXtst +building for Mac use -framework ApplicationServices Carbon CoreFoundation +building for Win use User32.lib -if you wanna use qmake i provide a XInputSimulator.pro file – simply type: -``` ->$ qmake XInputSimulator.pro && make -``` - -for cmake there is a CMakeLists.txt file -simply type: +for cmake there is a CMakeLists.txt file -simply type (for all platforms): ``` >$ mkdir build >$ cd build >$ cmake ../XInputSimulator/ ->$ make +>$ cmake --build . ``` for xcode there is an xcode project file