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.

[参考译文] CODECOMPOSER:我想提前包括一个特定文件

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1243534/codecomposer-i-want-to-include-a-specific-file-in-advance

器件型号:CODECOMPOSER

您好!
我使用的是 Code Composer Studio 12.3.00005。

构建时、我想提前仅包含特定文件、这是可行的吗?
我以前使用 IAR Embedded Workbench 时、它得到了 pre-incude 函数的支持。

我想请您教授。

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

    如果您使用 蒂亚姆克朗 ,使用选项 -包含 文件名。  如果您使用 机箱 ,使用选项 --预包含 文件名。

    谢谢。此致、

    -乔治

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

    感谢您的答复。

    我使用 tiarmclang。
    因此、我想使用"option -include filename"、但我应该从属性中的哪个位置设置它?
    我不知道、因为这是我第一次使用 Code Composer Studio。

    我想请一位教授。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    因此,我想使用"option -include filename",但我应该从属性中的哪个位置设置它?

    在项目属性中:

    谢谢