为什么我的 CDT 构建配置在我分支后丢失了?

发布于 2024-12-27 14:26:56 字数 338 浏览 3 评论 0原文

为什么 Eclipse CDT 不理解我的构建配置?(或者它们没有存储在 .cproject 文件中?)

我在使用 Eclipse cdt 的项目中使用了多个构建配置,它工作正常。我已经提交了所有内容(使用 Subclipse)并创建了一个分支。

当我检查分支时,构建配置丢失了。唯一可用的配置是标准的调试和发布。 .cproject 文件受版本控制,并且与提交的文件相同。

我使用

  • Eclipse:版本:3.7.0
  • Cdt版本:5.1.0.201002161416

Why does Eclipse CDT not understand my build configurations? (Or are they not stored in the .cproject file?)

I use several build configurations in my project using Eclipse cdt and it works fine. I have committed everything (using Subclipse) and created a branch.

When I check out the branch the build configurations are lost. The only configurations available are the standard Debug and Release. The .cproject file is version controlled and it is identical to the one committed.

I use

  • Eclipse: Version: 3.7.0
  • Cdt Version: 5.1.0.201002161416

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

葵雨 2025-01-03 14:26:56

这不太实用,但启动配置存储在项目之外。

.plugins\org.eclipse.debug.core\.launches\ 中的 .metadata\ 中,每个配置都有一个 .launch 文件您的工作区的文件夹。

It is not quite practical, but the launching configurations are stored outside of the projects.

There is a .launch file per configuration in the .plugins\org.eclipse.debug.core\.launches\ in the .metadata\ folder of your workspace.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文