Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Platform defines

This is the mainstay of all of Burgerlib. You include the file burger.h in your project which will determine the compiler, target, CPU, and system specific features so you can write platform neutral code.

Debug defines, one is required MUST be present and is supplied by the build project. This is not created by default by Burgerlib. If both exist or both are missing, burger.h will force a compile error.

  • _DEBUG Debugging asserts are enabled.
  • NDEBUG Debugging asserts are disabled.

Compiler level

Compiler C++ level, all are defined up to the feature level present.

Compiler name

Compiler defines, to determine any compiler specific features are available. Only one macro is defined. All are defined as the compiler version number.

Feature Detectors

CPU defines

CPU defines, only one is enabled on each compiler.

"Type of CPU" defines, they are defined to help determine the type of CPU is running.

CPU special feature macros.

Endian defines

Endian defines, only one is enabled on each compile. Do not use the CPU to determine the endian, because it may change on some platforms.

Platform defines

Platform defines, only one is enabled on each compile.

Global defines

Standard defines present on all build targets

API detection

Defines to denote if features, compilation switches or high level APIs are present

Handy macros