I have written a script using the VDSP Automation API to update the Compiler preprocessor definition of my projects.
But this script is failing when the preprocessor define contains an underscore.
FOO => OK
FOOBAR => OK
FOO_BAR => FAIL with error "The switch "-D" is invalid for the "Compiler" property page"
Is this an issue in the Automation API implementation?
I have joined a Python test script to reproduce the issue.