Skip to content

Commit f7d5c1d

Browse files
committed
Update README.md
cmake additions
1 parent 7d3feb7 commit f7d5c1d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,16 @@ For a detailed example see main.cpp
1818
sim.mouseUp(XInputSimulator::LEFT_MOUSE_BUTTON); //release the mousebutton press
1919
```
2020

21-
building for Linux use -lX11 -lXtst | include X11/Xlib.h X11/Xutil.h
22-
building for Mac use -framework ApplicationServices | include ApplicationServices/ApplicationServices.h
23-
building for Win use User32.lib | include Windows.h
21+
building for Linux use -lX11 -lXtst
22+
building for Mac use -framework ApplicationServices Carbon CoreFoundation
23+
building for Win use User32.lib
2424

25-
if you wanna use qmake i provide a XInputSimulator.pro file – simply type:
26-
```
27-
>$ qmake XInputSimulator.pro && make
28-
```
29-
30-
for cmake there is a CMakeLists.txt file -simply type:
25+
for cmake there is a CMakeLists.txt file -simply type (for all platforms):
3126
```
3227
>$ mkdir build
3328
>$ cd build
3429
>$ cmake ../XInputSimulator/
35-
>$ make
30+
>$ cmake --build .
3631
```
3732

3833
for xcode there is an xcode project file

0 commit comments

Comments
 (0)