serial-port icon indicating copy to clipboard operation
serial-port copied to clipboard

I changed directory structure and CMakeLists.txt so can function better as a library to include in other projects

Open ericfont opened this issue 3 years ago • 1 comments

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.)

ericfont avatar Nov 12 '21 06:11 ericfont

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.

ericfont avatar Nov 12 '21 06:11 ericfont