GitHub - libts/tslib: Touchscreen access library
The following is a minimal example of how to use tslib, built with CMake, in your client app. Adding tslib::tslib as a link target will add required dependencies and include directories generated build files.