Panda3DS/third_party/open-bp-cpp
sylvieee-iot 729efb5e4c
Fix head
2024-05-02 22:39:36 +03:00
..
example Improv eexample 2024-05-02 21:46:08 +03:00
include Fix head 2024-05-02 22:39:36 +03:00
source Add external libraries 2024-05-02 20:28:41 +03:00
.gitattributes Add external libraries 2024-05-02 20:28:41 +03:00
.gitignore Add external libraries 2024-05-02 20:28:41 +03:00
CMakeLists.txt PoC 2024-05-02 21:58:54 +03:00
CMakePresets.json Add external libraries 2024-05-02 20:28:41 +03:00
README.md Add external libraries 2024-05-02 20:28:41 +03:00

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.