Set #define though platform.ini for multiple targets?

I have some applications that I deploy on multiple targets using OTA. I want some settings to be unique, e.g. the client name. I’ve read the documentation and done some experimenting but haven’t figured out how to do it.

Example:

In my src
#define OTA_HOST_NAME “NeoPixelAlertIndicator2”

Can I set OTA_HOST_NAME differently in each target section in platform.ini instead and how is this done?

I’ve seen some examples using env variables in the shell but I want to control this from platform.ini for each target.

You need