-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Reorganize and beautify project generation for IDEs #2691
Reorganize and beautify project generation for IDEs #2691
Conversation
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.
I understand the idea to make target names consistent with the defaults of the generator, but on the other hand I don't like that the same target is named differently depending on the generator. What about keeping the old names and creating aliases? No strong opinion here, just throwing in an idea.
The code will look cleaner. Most of these folder are filled with so many targets that having one more makes no difference. The only questionable case is the uninstall target, it will look a little funky. |
Hm, true. Well, forget about this idea then. |
Looking at the screenshot you've just referenced, I wonder if names like |
Valid point. I will adopt it. Summarizing everything
|
Sounds good except to the first item.
|
Let's be opinionated and use it by default. There's no disadvantage for adopting it. |
1a8e629
to
db72d43
Compare
I just completed the items from the last review. I need some help from windows users. I need an updated replacement for No need for the side-by-side image without project folders because it is unconditionally turned on now. @UnaNancyOwen, @claudiofantacci or @SunBlack whenever one of you guys remembers it, would you mind sending me an updated version? Edit: |
I’ll test MSVS on Monday and send you a screen asap 👍🏻 |
Thank you. At first sight I'm confused that there's a target called |
cmake/pcl_utils.cmake
Outdated
set(_ides | ||
"Xcode" | ||
"Visual Studio 14 2015" | ||
"Visual Studio 15 2017" |
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.
Is there a reason to have specific versions here? I'd prefer a future-proof check if possible.
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.
No. It was a literal copy paste from the supported generators list. I'll change it to "Visual Studio*"
.
LGTM. Do you plan to add the image(s) from Claudio to the tutorial? (Maybe an edited/shortened version.) |
That's the idea. Hopefully some GIMP-fu to add some \vdots here and there. |
I just noticed this Lines 215 to 221 in 356ea4f
I'm inclined to replace it with regular executable targets. Currently it's compiling source files from apparently two different applications into a PCL Library "target" called |
Disclaimer: this is a speculation. Maybe the idea is that some of the apps include reusable components that e.g. combine functionality from several modules. Then a user can link with |
I'll keep that in mind. If that is indeed the case, I'll create the target without resorting to a |
2ed28f5
to
96f2a1b
Compare
I'm not going to extend any more functionalities on this PR. In terms of squash strategy I believe the only important is to keep the tools relocation commit separate from the rest. I'm also open to keep the unconditional project folder activation as a separate commit. |
I'd be fine with two commits, don't think unconditional project activation needs a separate one. |
- Use project folders unconditionally.
1fcf5de
to
5f278e2
Compare
Great! 🚀 |
Thanks! |
It follows most of the recommendations mentioned in #2673 (comment) , creating a native look and feel for IDE users.
Closes #2680 .