No problem at all
First, make sure you are working with the Enterprise edition. Professional doesn't support compiler variables. Next, open the Project Options dialog. You can set the compiler variables in there while working from the IDE. And, you can also set values from the command line when building, just use the form VAR=VALUE.