Conversation
|
We are certainly interested in modernizing our CMake scripts and welcome contributions in that direction. What you decided to do is a great undertaking. We will need to be very careful though:
We will need extensive manual testing to make sure we don't break anything on any platform. I would prefer if we split this modernization over a series of as small as possible PRs which are easy to review and test.
Currently we require 3.1, however we may raise this to 3.5 if needed. Our current baseline environment is Ubuntu 16.04 (which has 3.5) and we'd prefer to not require anything higher than that unless absolutely needed. |
|
Thanks for your reply, sorry it took so long to get back to you. So far there was only one feature I used that required CMake>=3.5, which I have now reverted. I also managed to build the tools.
I'm not entirely sure how this can be split up. I'm open to suggestions. |
|
Let's go progressively. My first suggestion would be to go first for component specification for vtk in
I believe that to be the case in the majority of platforms these days. I say we try that first and let it run through the CI, because right now you have no feedback whatsoever of what is building on osx and windows. It's a simple step but a necessary one. Edit: This is just a proposal to kickstart the discussion with a meaningful suggestion. |
|
This pull request has been automatically marked as stale because it hasn't had Come back whenever you have time. We look forward to your contribution. |
|
This pull request has been automatically marked as stale because it hasn't had Come back whenever you have time. We look forward to your contribution. |
|
Marking this as stale due to 30 days of inactivity. Commenting or adding a new commit to the pull request will revert this. |
I had an issue with the link interface of various pcl targets, which would include ALL VTK libraries, which would result in any targets using say
pcl_visualizationto also link againstlibvtkIONetCDF.so.1which is not required by it. The relevant changes are here.However, this got a bit out of hand and I started modifying all pcl targets to provide their include and link libraries in their target interface. The more interesting changes are in pcl_targets.cmake.
Is this a change you would be interested in? I don't want to spend more time on this otherwise.
What minimum version of CMake do you want to support? It's currently set to 3.1, this was buildt using 3.14 and may use some newer features.
This builds all default libraries, tools were disabled for now.