Where can I add the compiler flags when I build my project?

in your *.Target.cs add the following line:

AdditionalCompilerArguments += "-w";

this will ignore all warnings.