Cinder Platforms

Platform Macros

MacroDescription
CINDER_CINDERDefined on all Cinder platforms
CINDER_POSIXDefined on all POSIX-derived platforms: macOS, iOS, Linux, and Android
CINDER_COCOADefined on macOS and iOS
CINDER_MACDefined on macOS only
CINDER_COCOA_TOUCHDefined on iOS only
CINDER_LINUXDefined on Linux only
CINDER_ANDROIDDefined on Android only
CINDER_MSWDefined on Universal Windows Platform (UWP) and desktop Windows
CINDER_UWPDefined on Universal Windows Platform (UWP) only
CINDER_MSW_DESKTOPDefined on desktop Windows only

Linux-Specific Macros

MacroDescription
CINDER_LINUX_EGL_ONLYDefined on platforms where EGL is used instead of GLFW

iOS-Specific Macros

MacroDescription
CINDER_COCOA_TOUCH_SIMULATORDefined on iOS Simulator only
CINDER_COCOA_TOUCH_DEVICEDefined on iOS Device only