ZFFramework
 
Loading...
Searching...
No Matches
ZFCoreEnvDef.h File Reference

used to define the env used by ZFFramework More...

#include "ZFCoreEnvConfig.h"

Go to the source code of this file.

Macros

#define ZFLIB_ZFCore
 used to export symbols
 
#define ZFLIB_APP
 used to export symbols
 
#define ZF_ENV_EXTERN_C_BEGIN
 extern "C" wrapper
 
#define ZF_ENV_EXTERN_C_END
 extern "C" wrapper
 
#define ZF_ENV_SENSITIVE(hint)
 dummy macro to show the code is env sensitive
 
#define ZF_ENV_CPP11
 whether use C++11
 
#define ZF_ENV_LAMBDA
 true to enable lambda (which require C++11), auto detect by default
 
#define ZF_ENV_DEBUG
 whether in debug mode
 

Detailed Description

used to define the env used by ZFFramework

Macro Definition Documentation

◆ ZFLIB_ZFCore

#define ZFLIB_ZFCore

used to export symbols

used to import symbols

used to export symbols

◆ ZF_ENV_CPP11

#define ZF_ENV_CPP11

whether use C++11

add -DZF_ENV_LAMBDA=1 to compiler to override

Warning
must be explicitly declared by compiler, also, all libs must be compiled with same config, otherwise, unexpected behavior may happen, if you don't know what to do, just leave it off

◆ ZF_ENV_LAMBDA

#define ZF_ENV_LAMBDA

true to enable lambda (which require C++11), auto detect by default

add -DZF_ENV_LAMBDA=1 to compiler to override

◆ ZF_ENV_DEBUG

#define ZF_ENV_DEBUG

whether in debug mode

add -DZF_ENV_DEBUG=1 to compiler to make this macro take effect