I want to have a define from my sketch be picked up by a library. Here is a similar question for references: Using #define and multiple classes
I have a CI server that compiles my arduino sketchs on commmit. It pulls all my personal libs from an other repository and compiles the sketch using arduino-builder.
Now i want it to also make a debug build. (Some of my library's have debugstatments in them i enable using a #define debugsomething.
Is there any way i can get the compiler to pickup the #define in the sketch or am i better off making a very complex build script that modifies the headers between builds?