Hello, I'm using Atmel Studio and want to exclude specific files from building for a particular target. For example, foo.c compiles for target Debug and not for Release.
This post answers the question but I think it's outdated since I cant't find the option in Atmel Studio 7 - https://www.avrfreaks.net/forum/conditional-compiling-0
Selecting Properties on the source file shows the Build Action option which allows to disable building a file but it's carried out through the entire project.
Is there a way to exclude building from specific targets only?