How to check Project Type in compilation time?

Hello,
I would like to make my static library include different files dependent on project type.

So I need something like that:

#if projectType==audioplug
#include "examplePluginFile.h"
#elif projectType==guiapp
#include "exampleGuiFile.h"
#endif

But of course my code doesn’t work. Could anyone help me with it?

Great thanks in advance.
Best regards

Cannot we do this with preprocessor definitions?

I think we can. But I suppose it is already there while we set the Project Type in Projucer. I just want that value in compilation time. I thought it is stored as some macro.