omw
0.2.0
|
Compiler | |
Only one is defined, depending which compiler is used. | |
#define | OMW_CXX_CLANG (1) |
#define | OMW_CXX_GCC (1) |
#define | OMW_CXX_MSVC (1) |
#define | OMW_CXX_MINGW32 (1) |
#define | OMW_CXX_MINGW64 (1) |
#define | OMW_CXX_EMSCRIPTEN (1) |
#define | OMW_CXX_UNKNOWN (1) |
Platform | |
Defined as | |
#define | OMW_PLAT_WIN (1) |
#define | OMW_PLAT_WIN32 (1) |
#define | OMW_PLAT_WIN64 (1) |
#define | OMW_PLAT_UNIX (1) |
#define | OMW_PLAT_POSIX (1) |
#define | OMW_PLAT_LINUX (1) |
#define | OMW_PLAT_APPLE (1) |
#define | OMW_PLAT_BSD (1) |
#define | OMW_PLAT_UNKNOWN (1) |
Processor Architecture | |
Only one is defined, depending on the targeted processor architecture. | |
#define | OMW_PARCH_x86_32 (1) |
#define | OMW_PARCH_x86_64 (1) |
#define | OMW_PARCH_ARM32 (1) |
#define | OMW_PARCH_ARM64 (1) |
#define | OMW_PARCH_POWERPC (1) |
#define | OMW_PARCH_UNKNOWN (1) |
C++ Standard Version | |
| |
#define | OMW_CPPSTD |
#define | OMW_CPPSTD_98 (199711L) |
#define | OMW_CPPSTD_11 (201103L) |
#define | OMW_CPPSTD_14 (201402L) |
#define | OMW_CPPSTD_17 (201703L) |
#define | OMW_CPPSTD_20 (202002L) |
#define | OMW_CPPSTD_23 (202100L) |
Misc | |
| |
#define | OMW_DEBUG (1) |
#define | OMW__FILENAME__ |
OMW Info | |
| |
#define | OMW_VERSION_ID (1) |
#define | OMW_VERSION_ID_0_2_0 (1) |
#define | OMW_VERSION_MAJ (0) |
#define | OMW_VERSION_MIN (2) |
#define | OMW_VERSION_PAT (0) |
#define | OMW_VERSION_PRSTR ("") |
See also omw/defs.h and omw/omw.h.
#define OMW__FILENAME__ |
since C++14
Returns the filename of the current file as const char*
. Similar to __FILE__
, but does not contain the full path.
#define OMW_CPPSTD |
Used to compare to OMW_CPPSTD_xx
.
If MSVC is used it's defined as an alias for the MSVC specific macro _MSVC_LANG
, otherwise it's an alias for __cplusplus
.
#define OMW_CPPSTD_23 (202100L) |
C++23 isn't released yet. Thus the value may change in the future!
#define OMW_DEBUG (1) |
Defined as 1
if _DEBUG
is defined, otherwise undefined.
#define OMW_PLAT_POSIX (1) |
Defined as 1
if the Unix is POSIX compliant, otherwise undefined.
#define OMW_PLAT_WIN (1) |
Defined as 1
if OMW_PLAT_WIN32
or OMW_PLAT_WIN64
is defined, otherwise undefined.
#define OMW_PLAT_WIN32 (1) |
Defined as 1
if target is 32-bit Windows, otherwise undefined.
#define OMW_PLAT_WIN64 (1) |
Defined as 1
if target is 64-bit Windows, otherwise undefined.
#define OMW_VERSION_ID (1) |
Uniqe version ID, always greater than the ID of the last version.
Can be compared to OMW_VERSION_ID_..
Version | Version ID |
---|---|
v0.2.0 | 1 |