Is there a list of c++ preprocessor variables

I am after (if possible) a list of the standard preprocessor variables defined within the engine.

Stuff like PLATFORM_WINDOWS etc, but all of them, so the flags for if debug is enabled, if running within the editor etc.

Does such a list exist? or is it documented in a header somewhere?

Thanks

They are added via command line during compilation, so they spread across UBT code:

https://github.com/EpicGames/UnrealEngine/search?p=1&q=InBuildTarget.GlobalCompileEnvironment.Config.Definitions.Add&utf8=✓
https://github.com/EpicGames/UnrealEngine/blob/55c9f3ba0010e2e483d49a4cd378f36a46601fad/Engine/Source/Programs/UnrealDocTool/APIDocTool/APIDocTool/Program.cs#L250

I’m getting a 404 error from that link :frowning:

Access to engine source code is limited to registered UE4 users, you need to tie your UE4 with GitHub

AHA! Thanks for that, I can see it now. Thanks