Is there a way to add preprocessor definitions in automation tools?

Hi, I am creating automation script for making builds.
I wish to achieve as much a possible user-friendly way of making changes in a build configuration.
This means my script needs to set preprocessor definitions for a build.
Is there a way without manually edit Game.Build.cs file?
Maybe some arguments for AUT or something?

Thanks for your help!