Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/dumbowumbo/buttplugCpp

C++ API for Buttplug IO
https://github.com/dumbowumbo/buttplugCpp

Last synced: about 9 hours ago
JSON representation

C++ API for Buttplug IO

Lists

README

        

# buttplugCpp
## How to use
I made this project in Visual Studio 2022, but it uses CMake. I currently am struggling to get a proper library CMake going, so simply include the src and include directories in your project and add them with:
```
file(GLOB SRC_FILES
"src/*.cpp"
"include/*.h"
)

target_sources(buttplugCpp PUBLIC
${SRC_FILES}
)
```
in your CMake file. Also make sure to build IXWebSockets (without zlib, unless you want to deal with getting it working with CMake). Nlohmann Json dependency is handled by Hunter, so make sure you have Hunter in your project too. I provide an example CMake file which makes the example program in example directory.

## More info
Currently this library was tested (not very extensively) with Linux and Windows. The C++ version is C++11. This library and its documentation is still WIP.