Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当使用 GYP 使用相当基本的 .gyp 文件生成 Xcode 项目时,它会添加所有源文件,但不会添加 .h 文件。
有没有办法指示它也包含项目中使用的所有头文件?或者您是否需要在项目生成后手动添加它们?
只需将任何头文件添加到sources.gyp 文件的列表中。
sources