Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
gii/global.h
Go to the documentation of this file.
1
19#pragma once
20
21// Import of defines for this target.
22#include <misc/gen/target.h>
23
24// When DL target and the gii PKG is not used the gii DL is being build.
25#if IS_DL_TARGET && defined(_GII_PKG)
26 #define _GII_DATA TARGET_EXPORT
27 #define _GII_FUNC TARGET_EXPORT
28 #define _GII_CLASS TARGET_EXPORT
29// Is used as an archive so no importing is needed.
30#elif defined(_GII_ARC)
31 #define _GII_DATA
32 #define _GII_FUNC
33 #define _GII_CLASS
34// When no flags are defined assume the package is imported.
35#else
36 #define _GII_DATA TARGET_IMPORT
37 #define _GII_FUNC TARGET_IMPORT
38 #define _GII_CLASS TARGET_IMPORT
39#endif