了解 Eclipse CDT 项目

发布于 2024-08-21 11:27:58 字数 379 浏览 2 评论 0原文

我想将我的 CDT 项目提交到 SVN。我是 CDT 的新手,我想知道描述该项目的文件。

相关文件似乎是:

.project .settings(目录) .cproject .csettings(目录)

.project 和 .settings 的用途是什么?

.project 仅包含对存储在 .csettings 目录中的 XML 文件的引用。我其他项目的一些同事没有这个 .csettings 目录:所有内容都在 .cproject 文件中。是否有一些项目属性可以使 Eclipse 委托 .csettings 目录中的 XLM 文件中的所有 CDT 设置?

.csettings 又如何呢?

额外问题:.directory 是什么?

I want to commit my CDT project to SVN. I am a newbie regarding CDT, and I'd like to know the files describing the project.

The concerned files seem to be :

.project
.settings (directory)
.cproject
.csettings (directory)

What are the purposes of .project and .settings ?

.project just include references to XML files stored in the .csettings directory. Some of my co-workers on other projects don't have this .csettings directory : everything is in the .cproject file. Are there some project properties which could make Eclipse delegates all the CDT settings in XLM files in the .csettings directory ?

And what about .csettings ?

Extra question : what is the .directory ?

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

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

发布评论

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

评论(3

记忆で 2024-08-28 11:27:58

.project 是 Eclipse 在打开项目时启动的位置:它告诉工作台需要哪些插件。

.cproject 包含特定于 CDT 的设置:您的项目选择的构建配置、工具链、单个工具等。

.settings 可以被各个插件用来存储它们自己的项目级首选项。

我从来没有遇到过 .csettings...

.project is where Eclipse starts whenever it opens up the project: it tells the workbench what plugins are needed.

.cproject contains the settings specific to the CDT: your project's choice of build configurations, toolchains, individual tools and so on.

.settings can be used by individual plug-ins to store their own project-level preferences.

I've never come across .csettings...

兲鉂ぱ嘚淚 2024-08-28 11:27:58

.CPROJECT:这将包含为特定选定工具链提供的所有设置。例如,如果项目需要使用gcc创建,那么这个.cproject文件将包含gcc使用的所有编译器、链接器选项。

此外,如果需要排除项目中的任何可启动文件,也将在此处指定。一般来说,它充当您的项目的基础。

.PROJECT: Eclipse 使用内置 make 文件来链接目标文件。此 .project 文件将包含所有构建器信息 (managebuilder)。

.SETTINGS: 这将包含所选工具链的调试信息。就像“COMPILER\ASSEMBLER\LINKER”包含如何分隔一样,例如通过“;”像那样。

.CPROJECT: This will contain all the settings provided for the particular selected Toolchain. For example, if the project needs to be created with gcc, then this .cproject file will contain all the compiler, linker options used by gcc.

Also if any boot-able files located within the project needs to be excluded that too will be specified here. In general it acts as a make to your project.

.PROJECT: Eclipse uses inbuild make file for linking the object files. This .project file will contain all the builder information (managebuilder).

.SETTINGS: This will contain the debugging information's for the selected toolchain. Like how the "COMPILER\ASSEMBLER\LINKER" includes are separated, eg., by means of ";" like that.

梦里寻她 2024-08-28 11:27:58

每个 Eclipse 项目都有一个 .project 文件,一般项目设置(如项目名称)位于此处。

.cproject 文件是 CDT 项目特定设置所在的位置。

我不确定 .settings 和 .csettings 目录的用途。可能用于无法添加到 .project 和 .cproject 文件中的项目特定设置。

在以 .是隐藏文件。

Every eclipse project has a .project file, general project settings (like the name of the project) go here

The .cproject file is where the CDT project specific settings go.

I'm not sure what the .settings and .csettings directories are for. Probably for project specific settings that can't be added to the .project and .cproject files.

On unix files (and directories are just a special type of file in unix) that begin with a . are hidden files.

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