Critical Issue
In the Nios II SBT for Eclipse version 9.1 SP2 and earlier, you can use the Exclude from build command to omit a source file from your project at build time. Starting with version 10.0, Exclude from build is replaced by the Remove from Nios II build and Add to Nios II build commands.
Due to an Eclipse platform limitation, Exclude from build still appears in the project context menu in version 10.0. However, it has no effect.
To exclude a source file from your project when it is built, on the project context menu, click Remove from Nios II build. To restore it to the build, click Add to Nios II build.