问题描述
我希望能够更改一整套文件的编译器标志.
I'd like to be able to change compiler flags for a whole set of files.
从构建阶段"区域访问每个文件的编译器标志时,您可以一次更改一个标志,但是假设我想更改组中每个文件的标志(例如,DropBox 或 Facebook SDK).
When accessing per-file compiler flags from the "Build Phases" area you can change flags one at a time, however say I'd like to change the flags for every file in a group (e.g., the DropBox or Facebook SDK).
有人知道如何在 Xcode 4.0.x 中执行此操作吗?
Anyone know how to do this in Xcode 4.0.x?
推荐答案
幸运的是,是 :-)
在 Targets->Build Phaes->Compile Sources 中,标记所有您想为其设置编译器标志的文件,按 RETURN(按回车键!),将标志放在即将出现的窗口中,您就完成了!
In Targets->Build Phaes->Compile Sources, mark all the files you like to set a compiler flag for, press RETURN (hit the enter key!), put the flag in the upcoming window and you're done!
这篇关于您可以在 Xcode 4 中批量更改每个文件的编译器标志吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!