Pre-processed macro definitions that define the target platform. More...
Go to the source code of this file.
Macros | |
#define | ECL_HAS_POSIX_THREADS |
Platform uses posix threads. More... | |
#define | ECL_HAS_SHARED_LIBS 1 |
Ecl exceptions are disabled. More... | |
#define | ECL_IS_POSIX |
Platform is posix-based. More... | |
#define | ECL_SIZE_OF_CHAR 1 |
Defines the number of bytes for a char type. More... | |
#define | ECL_SIZE_OF_DOUBLE 8 |
Defines the number of bytes for a double type. More... | |
#define | ECL_SIZE_OF_FLOAT 4 |
Defines the number of bytes for a float type. More... | |
#define | ECL_SIZE_OF_INT 4 |
Defines the number of bytes for a int type. More... | |
#define | ECL_SIZE_OF_LONG 8 |
Defines the number of bytes for a long type. More... | |
#define | ECL_SIZE_OF_LONG_DOUBLE 16 |
Defines the number of bytes for a long double type. More... | |
#define | ECL_SIZE_OF_LONG_LONG 8 |
Defines the number of bytes for a long long type. More... | |
#define | ECL_SIZE_OF_SHORT 2 |
Defines the number of bytes for a short type. More... | |
#define | ECL_VERSION 0.61.6 |
Pre-processed macro definitions that define the target platform.
Cmake is used to check/verify your target platform parameters. The results of the platform check are defined here for use by the ecl in the form of preprocessed macros.
Alternatively, a hand readied configuration file can be setup via the ECL_IS_CUSTOM macro. The use case for this generally applies when gathering source files (i.e. make 'source' target) ready to be used on a custom embedded board with its own toolchain/ide that are not usable with cmake.
Definition in file ecl.hpp.