charmedlabs / pixy2

Other
131 stars 98 forks source link

add install script for libpixyusb2 #21

Open ManuelMeraz opened 4 years ago

ManuelMeraz commented 4 years ago

I thought i'd share my install script with you guys for libpixyusb2. I was trying to figure out a way to link to the library easily. My original thoughts was to write it with CMake, but things are way too tangled up in this repo. Gave up on that and wrote this script to install the header files and library after running the build script.

The header file for libpixyusb2.h has a relative include, so I replace the text in that to correct for that.