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:用于 Windows 和 Linux 的独特编译后处理步骤

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/877285/ccs-unique-post-build-step-for-windows-and-linux

工具/软件:Code Composer Studio

您好、CCS 团队、

我尝试找出一种将脚本作为工程编译后步骤运行的方法、但根据用户运行的操作系统、它需要运行批处理脚本(对于 Windows)或 shell 脚本(对于 Linux)。 有没有办法做到这一点?

此致、
Sahin

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

    Sahin、

    如果可以在 Windows 命令提示符或 Linux 终端上仅使用其名称(即没有.bat 或.sh 扩展名)调用脚本、则应能够在编译后处理步骤中以相同的方式调用脚本。 如果工程包含在特定于操作系统的软件/SDK 包中、则可以包含适用于操作系统的 Windows 或 Linux 脚本。