为什么我的 CDT 构建配置在我分支后丢失了?
为什么 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这不太实用,但启动配置存储在项目之外。
在
.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.