是否应共享CodeLite工作区? [英] Should CodeLite workspaces be shared?

查看:75
本文介绍了是否应共享CodeLite工作区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个项目中,有几个人正在通过Git处理同一代码.

我只是想知道从事此项目的每个人是否应该共享同一工作区(通过 ./foo.workspace 文件),还是共享项目(通过 ./).foo/foo.project 文件).

解决方案

您可以确定共享一个Codelite工作区(并且鼓励这样做).

根据设计,工作空间中的任何内容都不会保留在绝对路径中(所有文件路径,项目路径,构建顺序等都保留在相对路径中)

由于codelite是跨平台的IDE,因此保持工作空间可移动-不仅在不同的开发人员之间,而且在不同的OS之间-在当前的工作空间/项目设计中占很大一部分.

还请注意,尽管大多数重要信息都保存在项目级别,但是工作区是保存以下内容的工作区:

  • 构建矩阵(您可以从build->配置管理器菜单进行配置),请参见此以获取更多信息: 解决方案

You can definitely share a codelite workspace (and you are encouraged to do so).

Nothing in the workspace is kept in absolute paths by design (all file paths, project paths, build order etc are kept in relative paths)

Since codelite is a cross platform IDE, keeping the workspace movable - not only between different developers, but also between different OSs - has a big part of the current workspace/project design.

Also note that the although most of the important information is kept on the project level, the workspace is the one that keeps the following:

Here is a list of files/directories that you should avoid adding to your git repo:

  • Anything under your WORKSPACE_PATH/.codelite directory - this folder is intended to be used per-user
  • Any generated Makefile (either Makefile or .mk)
  • Any generated .txt files (these are used during the link stage, and will typically be named .txt

HTH,

Eran, Author of CodeLite IDE

这篇关于是否应共享CodeLite工作区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆