Along with the platform defines and platform string defines provided by CMake to the build, add a PLATFORM_MASK define. Use this define as a platform-type mask with the PlatformType enum.