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