【问题标题】:Passing Flags in XCODE在 XCODE 中传递标志
【发布时间】:2011-05-29 19:41:34
【问题描述】:

我已经在我的 MAC 操作系统中配置了 wxWidgets。在终端我的程序工作正常。这是我用来运行的以下命令。

gcc -o main main.cpp -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL -lwx_macud-2.8

如何配置 xcode 以便将 Header & libs 传递给 GCC。

【问题讨论】:

    标签: xcode macos gcc wxwidgets


    【解决方案1】:

    在 XCode 中,调出目标的 Inspector,查看“Build”选项卡,搜索“header”和“library”。您将找到相关的配置选项。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-04-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-04-21
      • 1970-01-01
      • 2015-08-30
      相关资源
      最近更新 更多