Global preprocessor directives. is this possible?

I’m writing some ofx addons and I would like to have options to have some dependencies or not.
I was thinking of using preprocessor directives but they don’t seem to work globally. is there some way of setting preprocessor directives globally without altering the openframeworks project, so I could choose in the project code if I’m including the dependency or not?