INCLUDE_DIRECTORIES¶
在 3.11 版被加入.
預處理器包含檔案搜尋目錄的清單。
此屬性包含一個 分號分隔的路徑清單,並在建置此來源檔案時新增到包含目錄清單中。除了 Xcode 生成器因技術限制外,這些目錄將優先於目標層級定義的目錄。
不應直接將相對路徑新增到此屬性中。
Contents of INCLUDE_DIRECTORIES may use
generator expressions with the
syntax $<...>. However, Xcode does not support per-config
per-source settings, so expressions that depend on the build configuration are
not allowed with that generator.