Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
target.h File Reference

Go to the source code of this file.

Macros

#define IS_GNU   0
 
#define IS_MSVC   0
 
#define IS_WIN   0
 
#define IS_DL_TARGET   0
 
#define IS_SL_TARGET   0
 
#define IS_AB_TARGET   1
 
#define IS_QT   0
 
#define TARGET_EXPORT   __attribute__((visibility("default")))
 
#define TARGET_IMPORT
 
#define TARGET_HIDDEN   __attribute__((visibility("hidden")))
 

Detailed Description

Making it easier to build libraries for the various targets and platforms.
Defines these with true (1) or false (0):
IS_GCC > GNU compiler detected.
IS_QT > QT compile target is detected.
IS_WIN > Windows compile target is detected.
IS_AB_TARGET > An application binary is the current target.
IS_DL_TARGET > A dynamic library is the current target.
IS_SL_TARGET > A static library is the current target.

Macro Definition Documentation

◆ IS_AB_TARGET

#define IS_AB_TARGET   1

◆ IS_DL_TARGET

#define IS_DL_TARGET   0

◆ IS_GNU

#define IS_GNU   0

◆ IS_MSVC

#define IS_MSVC   0

◆ IS_QT

#define IS_QT   0

◆ IS_SL_TARGET

#define IS_SL_TARGET   0

◆ IS_WIN

#define IS_WIN   0

◆ TARGET_EXPORT

#define TARGET_EXPORT   __attribute__((visibility("default")))

◆ TARGET_HIDDEN

#define TARGET_HIDDEN   __attribute__((visibility("hidden")))

◆ TARGET_IMPORT

#define TARGET_IMPORT