-
Notifications
You must be signed in to change notification settings - Fork 216
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
CodeBlocks generator is deprecated #520
Comments
This is what the old cmake plugin used for building the code model so did the same for the roster plugin, but not sure how that is currently being done in the plugin now. |
I am trying to understand what
This in the end, seems to be used only in the ros_qtc_plugin/src/project_manager/ros_project.cpp Lines 495 to 532 in 614c46a
to populate ProjectExplorer::RawProjectPart .
I initially assumed that this is for showing the source and header files in the "Projects View" of the workspace. But those are already shown before compiling and removing @Levi-Armstrong For which feature in Qt Creator are these targets from the |
This builds the code model which is used for code completion, refactoring, code following, etc. |
This is how the old cmake project code worked so you might be able to leverage what they do now. |
The build step shows the warning:
And the CMake documentation for
CodeBlocks
mentions that this will be removed in future:The build tools set the
CodeBlocks - Unix Makefiles
generator explicitly in many places via--cmake-args -G \"CodeBlocks - Unix Makefiles\"
and there is a dedicated functionROSUtils::parseCodeBlocksFile
to parse them.@Levi-Armstrong What is the reason for using one of the
CodeBlocks
generators? What information is extracted from thecbp
? Is this only to create the content forROSUtils::PackageBuildInfoMap
? What is the reason that we cannot use the default generator here?The text was updated successfully, but these errors were encountered: