You can configure project locations using a command file to set the necessary environment variables:
For example, you could create a command file to hold temporary locations. Before a compile, you could then run this command file to override the locations set in the configuration file.