如何解决xcode编译所有的时间? [英] how can I fix xcode compiling everything all the time?

查看:380
本文介绍了如何解决xcode编译所有的时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始使用XCode,它似乎工作,很好,大部分。

I've started to use XCode and it seems to work, well, most of it.

令人烦恼的是它编译所有的源文件,甚至那些每次都没有改变。

The annoying thing is it compiles all the source files, even those that didn't change, each and every time.

我得到了openframeworks的夹点,我浪费时间编译openframeworks源文件每次,虽然他们不

I'm getting the grips with openframeworks and I waste time compiling the openframeworks source files every time although they don't change.

以下是我的IDE和机器详细信息:

Here are my IDE and machine details:

XCode
版本3.1.2
组件版本
Xcode IDE:1149.0
Xcode Core:1148.0
ToolSupport:1102.0

XCode Version 3.1.2 Component versions Xcode IDE: 1149.0 Xcode Core: 1148.0 ToolSupport: 1102.0

Mac OS X
版本10.5.6

Mac OS X Version 10.5.6

有没有人遇到过同样的问题?任何解决方法?

Has any one experienced the same problem ? Any workarounds ?

推荐答案

许多(大多数)构建系统使用文件的上次修改日期和时间来确定是否需要执行重新编译。我将首先验证文件日期是否如预期的行为;如果文件在网络驱动器上,例如,可能有不同的时间设置或时钟差异,这将使它看起来文件在未来被修改,因此构建系统总是编译它们。对于这一点,如果他们在网络驱动器上,所使用的协议可能不包括修改日期,并且系统简单地默认为现在,所以它总是看起来像每个文件被修改。

Many (most?) build systems use the last-modified date and time of the files to determine whether a recompilation needs to be performed. I would first verify that the file dates are behaving as expected; if the files are on a network drive, for example, there could be different time settings or clock discrepancies that would make it appear that the files were modified in the future, so the build system always compiles them. For that matter, if they are on a network drive, the protocol used may not include modified date, and the system simply defaults it to "now," so it always looks like every file was just modified.

这篇关于如何解决xcode编译所有的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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