As expected I made a stupid error. I had an #endif commented out and all of the defines below it weren't being detected. No initializing the variables in the command line to ANY value works as expec ...
I've tried defining them with values and they don't get detected by the #ifdef statements in the code. When I did this manually my code would look like this:
I have an application that I maintain for different versions of hardware. Essentially there are preprocessor define statements throughout the code that control what code is compiled for each hardware ...