Download

Package game with IF_EDITOR

Hey! Is there a way to package game, while also having IF_EDITOR prepocessor defined for the engine? I need this for my quick tests. but do not want to download engine sources and recompile while removing IF_EDITOR macros from the source code.

Basically, I am testing runtime landscape editining, for this I need to remove IF_EDITOR to work outside packaged game.
I want to share compiled game with my colleagues, but if I package game, IF_EDITOR functions will probably not work.

So I am looking for a way to do so…

Later when going production, I will just remove IF_EDITOR from the actual engine sources when I will need to