-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CMake project config files #418
Comments
I made something like that a while ago. Maybe it helps as a starter. https://gist.github.com/polygon/61e33a0fccecaf4ecf7a Usage as normal via
|
@guruofquality At a minimum, I'd like to install a FindLibbladeRF.cmake, if you'd allow for me to pull that into the project from SoapyBladeRF -- as you noted way back when, these are things we should really be providing to library users. |
@jynik sure you can knab the file https://github.com/pothosware/SoapyBladeRF/blob/master/FindLibbladeRF.cmake But if you are going to do the cmake project files, we can totally drop the FindLibbladeRF.cmake and having people copy it into their projects. I might suggest a more cut-down project to copy from than SoapySDR: muparserx:
spuce:
Theres usually more than one way to do this, but the above stuff is pretty formulaic, 2 short files, and its worked so far across a wide range of cmakes going back to whatever is on 12.04 ubuntu. |
Any ability for Nuand to add this capability? Seems like a light enough lift. Would love to just be able to have CMake find the package for me. |
CMake project config files help users of libbladeRF to locate it at configuration time via CMake.
We should be neighborly and provide these.
Examples from the SoapySDR Project:
The text was updated successfully, but these errors were encountered: