Update README.md

cmake additions
This commit is contained in:
pythoneer 2015-02-20 21:24:55 +01:00
parent 7d3feb72bb
commit f7d5c1d25b
1 changed files with 5 additions and 10 deletions

View File

@ -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