Corrade/Corrade.h file

Basic definitions.

Contents

Namespaces

namespace Corrade
Root namespace.

Defines

#define CORRADE_GCC47_COMPATIBILITY
GCC 4.7 compatibility.
#define CORRADE_MSVC2017_COMPATIBILITY
MSVC 2017 compatibility.
#define CORRADE_MSVC2015_COMPATIBILITY
MSVC 2015 compatibility.
#define CORRADE_BUILD_DEPRECATED
Build with deprecated API included.
#define CORRADE_BUILD_STATIC
Static library build.
#define CORRADE_TARGET_UNIX
Unix target.
#define CORRADE_TARGET_APPLE
Apple target.
#define CORRADE_TARGET_IOS
iOS target
#define CORRADE_TARGET_IOS_SIMULATOR
iOS Simulator target
#define CORRADE_TARGET_WINDOWS
Windows target.
#define CORRADE_TARGET_WINDOWS_RT
Windows RT target.
#define CORRADE_TARGET_EMSCRIPTEN
Emscripten target.
#define CORRADE_TARGET_ANDROID
Android target.
#define CORRADE_TARGET_X86
x86 target
#define CORRADE_TARGET_ARM
ARM target.
#define CORRADE_UTILITY_USE_ANSI_COLORS
Use ANSI escape sequences for colored Debug output on Windows.
#define CORRADE_TESTSUITE_TARGET_XCTEST
Target XCTest with TestSuite.

Define documentation

#define CORRADE_GCC47_COMPATIBILITY

GCC 4.7 compatibility.

Defined if compatibility mode for GCC 4.7 is enabled.

#define CORRADE_MSVC2017_COMPATIBILITY

MSVC 2017 compatibility.

Defined if compatibility mode for MSVC 2017 is enabled.

#define CORRADE_MSVC2015_COMPATIBILITY

MSVC 2015 compatibility.

Defined if compatibility mode for MSVC 2015 is enabled.

#define CORRADE_BUILD_DEPRECATED

Build with deprecated API included.

Defined if the library contains deprecated API (which will be removed in the future). To preserve backward compatibility, Corrade is by default built with deprecated API included.

#define CORRADE_BUILD_STATIC

Static library build.

Defined if built as static libraries. Default are shared libraries.

#define CORRADE_TARGET_UNIX

Unix target.

Defined if the library is built for some Unix flavor (Linux, BSD, macOS, iOS, Android...).

#define CORRADE_TARGET_APPLE

Apple target.

Defined if the library is built for Apple platforms (macOS, iOS).

#define CORRADE_TARGET_IOS

iOS target

Defined if the library is built for iOS (device or simulator).

#define CORRADE_TARGET_IOS_SIMULATOR

iOS Simulator target

Defined if the library is built for iOS Simulator.

#define CORRADE_TARGET_WINDOWS

Windows target.

Defined if the library is built for Windows (desktop, Store or Phone).

#define CORRADE_TARGET_WINDOWS_RT

Windows RT target.

Defined if the library is built for Windows Store or Phone.

#define CORRADE_TARGET_EMSCRIPTEN

Emscripten target.

Defined if the library is built for Emscripten.

#define CORRADE_TARGET_ANDROID

Android target.

Defined if the library is built for Android.

#define CORRADE_TARGET_X86

x86 target

Defined if the library is built for x86 platforms (32 or 64-bit). Note that unlike other CORRADE_TARGET_* variables, this variable and CORRADE_TARGET_ARM are not exposed in CMake because the meaning is unclear on platforms with multi-architecture binaries. If neither CORRADE_TARGET_X86 nor CORRADE_TARGET_ARM is defined, the platform might be either CORRADE_TARGET_EMSCRIPTEN or any other that the library doesn't know about yet.

#define CORRADE_TARGET_ARM

ARM target.

Defined if the library is built for ARM platforms (32 or 64-bit). Note that unlike other CORRADE_TARGET_* variables, this variable and CORRADE_TARGET_X86 are not exposed in CMake because the meaning is unclear on platforms with multi-architecture binaries. If neither CORRADE_TARGET_X86 nor CORRADE_TARGET_ARM is defined, the platform might be either CORRADE_TARGET_EMSCRIPTEN or any other that the library doesn't know about yet.

#define CORRADE_UTILITY_USE_ANSI_COLORS

Use ANSI escape sequences for colored Debug output on Windows.

By default colored output using Utility::Debug on Windows is done using WINAPI that has a limited functionality, because ANSI escape sequences are supported only on Windows 10 or when using non-standard console emulators. Available only on Windows, all other platforms use ANSI sequences implicitly. Enabled using UTILITY_USE_ANSI_COLORS CMake option when building Corrade.

#define CORRADE_TESTSUITE_TARGET_XCTEST

Target XCTest with TestSuite.

Defined if the TestSuite library is targeting Xcode XCTest. Available only on Apple platforms. Enabled using TESTSUITE_TARGET_XCTEST CMake option when building Corrade.