-
Notifications
You must be signed in to change notification settings - Fork 32
Core (Build): Add CMake export configuration #294
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
Conversation
65f20d2 to
cadbfcd
Compare
hartwork
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @kaixiong,
I got a chance at a first look and a basic before-after comparison with regard to installed files now. Three things caught my attention:
- Template file
Config.cmake.inis rendered to filenamelibvisual-config.cmake. My vote for renaming the template file tolibvisual-config.cmake.infor clarity. PATH_VARSincludesLV_INCLUDE_DIRbut I cannot find use of a variablePACKAGE_LV_INCLUDE_DIRanywhere. Is it a leftover ir is there intention in keeping it around?- There seems to de-facto change in actors data target location from
<prefix>/share/actorto<prefix>/share/libvisual-0.5/actorwhich seems like a clear improvement or even a build system bugfix. I am trusting that this transition is as complete as it seems from quick look.
What do you think?
Best, Sebastian
…compatibility check.
…though they were out-of-tree.
Thanks, it's much appreciated. CMake export targets are still a bit unfamiliar for me.
Well spotted, I missed this when editing the copy-paste from CMake docs.
Yeah it's unnecessary, the variable has been removed. The include path is passed into the package configuration via a different route i.e.
The plugin registry picks up the folders correctly, so no problem there. Not sure how this went unnoticed for so long 🤷 For completeness, I've also just added |
hartwork
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @kaixiong,
thanks for the rebase and the adjustments!
CMake export targets are still a bit unfamiliar for me.
Same here, we'll probably learn more about it as we go.
I believe we're ready to go now, please feel free to merge if you feel the same.
Best, Sebastian
No description provided.