serial-port
serial-port copied to clipboard
I changed directory structure and CMakeLists.txt so can function better as a library to include in other projects
For anyone that might be interested in included serial-port as a library in their own project, I made some edits here:
https://github.com/ericfont/serial-port/releases/tag/v1.11
Basically I moved all .cpp to a src folder and all .h to an include folder and all the examples to an examples folder, and made a top-level CMakeLists.txt which has an add_library for target.
Also fixed #7 by renaming io_service to io_context and everything seems to work. Also added a bit extra output to the examples.
(Note: I did removed the individual CMakeLists for the examples...was going to figure out a better way to build them together.)
I had to temporarily remove the Qt example 5.
I guess I should phrase this as a request to turn this project into a library format.