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.

请问CCS6中的 Exclude from Build 是起什么作用的?

Other Parts Discussed in Thread: CONTROLSUITE

  

很好奇这个 Exclude from Build 具体是起什么样的错误。为什么TI电机控制的例程里有这么多文件都 Exclude from Build 了。

最开始,我以为 Exclude from Build 的意思是,使得某个文件不参与编译,即在工程中把它除去一样。

但是后来,我写的一个程序,总是报错,于是我就把某几个报错的文件 Exclude from Build 了,此后,该程序编译通过,不报错了。

但是没想到,那几个文件里的函数,还是可以在主函数里执行。那也就是说,那几个被 Exclude from Build 的文件,还是参与了编译?

请问这是怎么回事? 或者说, 这个 Exclude from Build 到底起什么作用?