Add files for installing the library#1
Conversation
LinuxDevon
left a comment
There was a problem hiding this comment.
I hadn't gotten around to package and installing yet. Thanks for this one!
A few quick questions since I haven't used much cpack. I ran this branch to see the output with make package this creates the zip files and an install script. What all needs to be included with this packaging? I see the dbc.pc and install_manifest.txt also in the folder. just wanting to know what to include and/or what to run when creating a release. I will do some more digging later but was curious if you knew or not.
|
As what I know anything else is needed for distributing the library. I created an Arch Linux package: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=dbc_parser_cpp-git In a cmake project you just simply search for the dbc package. Cmake searches then through a few search paths to find the dbc.pc file and creates from it then a target. FIND_PACKAGE(PkgConfig REQUIRED)
pkg_check_modules(dbc REQUIRED IMPORTED_TARGET dbc)
target_link_libraries(yourApplicationTarget PkgConfig::dbc) |
…0) [0|204] "Km/h" DEVICE1,DEVICE2,DEVICE3 - multiple whitespaces at the end: SG_ TEMPERATURE : 48|16@1+ (0.01,-40) [-40|125] "C" DEVICE1,DEVICE2,DEVICE3
|
I closed this in favor of #5 |
|
Alright I will take a look at the new PR. Thanks for the info above! That seems pretty straight forward. Nice to see the AUR also! Been meaning to getting around and learning that. Maybe I will see about adding this to some of the main line distros. Never done something like that before. This would be a great project to learn that on. |
No description provided.