libuiohook
1.0.0
先决条件:
$ git clone https://github.com/kwhat/libuiohook
$ cd libuiohook
$ mkdir build && cd build
$ cmake -S .. -D BUILD_SHARED_LIBS=ON -D BUILD_DEMO=ON -DCMAKE_INSTALL_PREFIX=../dist
$ cmake --build . --parallel 2 --target install
| 选项 | 描述 | 默认 | |
|---|---|---|---|
| 全部 | build_demo:bool | 演示应用 | 离开 |
| build_shared_libs:bool | 共享库 | 在 | |
| enable_test:bool | 测试 | 离开 | |
| OSX | use_application_services:bool | 框架 | 在 |
| use_iokit:bool | 框架 | 在 | |
| use_objc:bool | OBJ-C API | 在 | |
| use_carbon_legacy:bool | 遗产框架 | 离开 | |
| Win32 | |||
| Linux | use_evdev:bool | 通用输入驱动程序 | 在 |
| *尼克斯 | use_xf86misc:bool | XFREE86-MISC扩展 | 离开 |
| use_xinerama:bool | Xinerama图书馆 | 在 | |
| use_xkb_common:bool | XKBCommon扩展 | 在 | |
| use_xkb_file:bool | XKB文件扩展 | 在 | |
| use_xrandr:bool | Xrandt扩展 | 离开 | |
| USE_XRECORD_ASYNC:bool | XRECORD异步API | 离开 | |
| use_xt:bool | X工具包扩展名 | 在 | |
| use_xtest:bool | Xtest扩展 | 在 |