Support Class Library
A set of tools providing classes and utility
|
#include <scl/detect/platform/android.h>
#include <scl/detect/platform/apple.h>
#include <scl/detect/platform/linux.h>
#include <scl/detect/platform/unix.h>
#include <scl/detect/platform/posix.h>
Go to the source code of this file.
Namespaces | |
scl | |
Global namespace of the SCL. | |
scl::detect | |
Namespace for detecting features, platform, etc... | |
scl::detect::platform | |
Namespace for platform detection. | |
scl::detect::platform::unified | |
Platform detection but in a unified way (e.g. | |
Macros | |
#define | SCL_UPLATFORM_ANDROID SCL_PLATFORM_ANDROID |
#define | SCL_UPLATFORM_APPLE SCL_PLATFORM_APPLE |
#define | SCL_UPLATFORM_IOS (SCL_PLATFORM_IOS || SCL_PLATFORM_IOS_SIMULATOR) |
#define | SCL_UPLATFORM_LINUX (SCL_PLATFORM_LINUX || SCL_UPLATFORM_APPLE || SCL_UPLATFORM_ANDROID) |
#define | SCL_UPLATFORM_UNIX (SCL_PLATFORM_UNIX || SCL_UPLATFORM_LINUX) |
#define | SCL_UPLATFORM_POSIX (SCL_PLATFORM_POSIX || SCL_UPLATFORM_UNIX) |
Variables | |
constexpr bool | scl::detect::platform::unified::android = false |
constexpr bool | scl::detect::platform::unified::apple = false |
constexpr bool | scl::detect::platform::unified::ios = ( false || false ) |
constexpr bool | scl::detect::platform::unified::linux = ( false || false || false ) |
constexpr bool | scl::detect::platform::unified::unix = (SCL_PLATFORM_UNIX || ( false || false || false ) ) |
constexpr bool | scl::detect::platform::unified::posix = ( false || (SCL_PLATFORM_UNIX || ( false || false || false ) ) ) |
#define SCL_UPLATFORM_ANDROID SCL_PLATFORM_ANDROID |
#define SCL_UPLATFORM_APPLE SCL_PLATFORM_APPLE |
#define SCL_UPLATFORM_IOS (SCL_PLATFORM_IOS || SCL_PLATFORM_IOS_SIMULATOR) |
#define SCL_UPLATFORM_LINUX (SCL_PLATFORM_LINUX || SCL_UPLATFORM_APPLE || SCL_UPLATFORM_ANDROID) |
#define SCL_UPLATFORM_POSIX (SCL_PLATFORM_POSIX || SCL_UPLATFORM_UNIX) |
#define SCL_UPLATFORM_UNIX (SCL_PLATFORM_UNIX || SCL_UPLATFORM_LINUX) |