This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/TM4C123GH6PM:展开#include 文件的搜索路径

Guru**** 2195940 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/911606/ccs-tm4c123gh6pm-expand-search-path-for-include-files

器件型号:TM4C123GH6PM

工具/软件:Code Composer Studio

CCS 中指定的 include 文件的搜索路径在哪里? 例如、CCS 如何找到 "#include"的路径 "? 我需要扩展搜索路径以查找其他文件夹中的文件。 我希望在工作区级别这样做。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    David、

    include 搜索路径是在工程级别设置的、而不是在工作区级别设置的。  如果您希望拥有一组跨项目共享的路径、可以在"命令"文件中定义它们、然后将该文件包含在多个项目的构建选项中。

    您可以在此处的项目选项中指定命令文件:

    此致、

    John