-
Notifications
You must be signed in to change notification settings - Fork 333
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
EXCLUDE_FROM_ALL goes into the FetchContent_Declare #328
Conversation
MakeAvailable and let cmake do is thing
This KISSfy (more) the build system on the |
Proposal to @nachovizzo: we can merge the three PRs (This one, #327, and |
Guys I'm a bit lost with these 3 PR's In any case, |
I give you an order of creation:
Thats the situation. |
This reverts commit a156481.
Thanks @tizianoGuadagnino. But were you guys aware of the cmake increase on the version??? |
Yes, I just wanted to be sure that it is fixable in this way and discuss it. Increasing the CMake version is a mess, and I know, but we need to find a solution to this; otherwise, people might have trouble building on top of our stuff. There is a very ugly if else logic that can replace the populate checks that |
Ok agree, fixing the problem is fine, but I'm not in favor of bumping the version at all. I understand that this will beautify the build system, and I tried this in the past as well and always dream about that. But we should in best cases expect most users will have cmake 3.22. One option would be to add this nice addition with 3.28 and guard it with an if/else, similar to how we do now |
Mmm, I didn't think about this one. Let me have a look, then ;) |
I will say #328 is not just nice to have but necessary if someone needs to use KISS as a library. At times, @benemer and I have received 5 PRs as tsunami, so I think that is fine. However, we should not close this without all agreeing that those are marginal changes (which we don't think they are). Fix for the versioning in this PR with the guarding that we just discuss it is coming anyways. |
Ok I missed this:
I got confused sorry. But why don't just fixing that ? |
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.
amashing
Fratis, sorry for all the confusion, but this simple change actually changes a lot in terms of the community's ability to extend the project to more cool robotics stuff, which is what we mostly care about. I verify the change on my dummy project and it works. |
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.
Awesome!
🏄 🏄 🏄
This tries to fix the
FetchContent
population error that we introduced many months before. We were checking for adepname_Populated
without using `FetchContent_GetProperties(depname)'. This resulted in cmake error as it was trying to populate the same dependency multiple times if KISS was "fetch contented" by another cmake project that was also "fetch conteting" one of the KISS dependencies. WIP