FLImaging 6.7.10.2
FLLibTags.h
1#pragma once
2
3#include <stdint.h>
4
5#ifdef FOURTHLOGIC_EXPORTS
6 #define FL_EXPORT __declspec(dllexport)
7#else
8 #define FL_EXPORT __declspec(dllimport)
9#endif
10
11
12#ifndef _M_X64 // 32bit
13 #ifdef WIN64
14 #undef WIN64
15 #endif
16
17 #ifdef _WIN64
18 #undef _WIN64
19 #endif
20
21 #ifndef WIN32
22 #define WIN32
23 #endif
24
25 #ifndef _WIN32
26 #define _WIN32
27 #endif
28#else // 64bit
29 #ifndef WIN64
30 #define WIN64
31 #endif
32
33 #ifndef _WIN64
34 #define _WIN64
35 #endif
36#endif
37
38
39#ifndef _WIN64
40 #ifdef DBG4REL
41 #define LIB_DEBUG_PREFIX "../ZDebugForRelease/"
42 #define DLL_DEBUG_PREFIX "../ZDebugForRelease/"
43 #define LIB_DEBUG_POSTFIX "_X86D.lib"
44 #define DLL_DEBUG_POSTFIX "_X86D.dll"
45 #elif _DEBUG
46 #define LIB_DEBUG_PREFIX "../ZDebug/"
47 #define DLL_DEBUG_PREFIX "../ZDebug/"
48 #define LIB_DEBUG_POSTFIX "_X86D.lib"
49 #define DLL_DEBUG_POSTFIX "_X86D.dll"
50 #else
51 #define LIB_DEBUG_PREFIX "../ZRelease/"
52 #define DLL_DEBUG_PREFIX "../ZRelease/"
53 #define LIB_DEBUG_POSTFIX "_X86.lib"
54 #define DLL_DEBUG_POSTFIX "_X86.dll"
55 #endif
56#else
57 #ifdef DBG4REL
58 #define LIB_DEBUG_PREFIX "../ZDebugForReleaseX64/"
59 #define DLL_DEBUG_PREFIX "../ZDebugForReleaseX64/"
60 #define LIB_DEBUG_POSTFIX "_X64D.lib"
61 #define DLL_DEBUG_POSTFIX "_X64D.dll"
62 #elif _DEBUG
63 #define LIB_DEBUG_PREFIX "../ZDebugX64/"
64 #define DLL_DEBUG_PREFIX "../ZDebugX64/"
65 #define LIB_DEBUG_POSTFIX "_X64D.lib"
66 #define DLL_DEBUG_POSTFIX "_X64D.dll"
67 #else
68 #define LIB_DEBUG_PREFIX "../ZReleaseX64/"
69 #define DLL_DEBUG_PREFIX "../ZReleaseX64/"
70 #define LIB_DEBUG_POSTFIX "_X64.lib"
71 #define DLL_DEBUG_POSTFIX "_X64.dll"
72 #endif
73#endif
74
75#ifndef _WIN64
76 #define COMMONLIB_PREFIX "../Libraries/x86/Vcc/"
77 #define COMMONDLL_PREFIX "../Libraries/x86/Shared/"
78#else
79 #define COMMONLIB_PREFIX "../Libraries/x64/Vcc/"
80 #define COMMONDLL_PREFIX "../Libraries/x64/Shared/"
81#endif
82
83#ifndef _WIN64
84 #ifdef DBG4REL
85 #define LIB_DEBUG_POSTFIX2 "D.lib"
86 #define DLL_DEBUG_POSTFIX2 "D.dll"
87 #elif _DEBUG
88 #define LIB_DEBUG_POSTFIX2 "D.lib"
89 #define DLL_DEBUG_POSTFIX2 "D.dll"
90 #else
91 #define LIB_DEBUG_POSTFIX2 ".lib"
92 #define DLL_DEBUG_POSTFIX2 ".dll"
93 #endif
94#else
95 #ifdef DBG4REL
96 #define LIB_DEBUG_POSTFIX2 "D.lib"
97 #define DLL_DEBUG_POSTFIX2 "D.dll"
98 #elif _DEBUG
99 #define LIB_DEBUG_POSTFIX2 "D.lib"
100 #define DLL_DEBUG_POSTFIX2 "D.dll"
101 #else
102 #define LIB_DEBUG_POSTFIX2 ".lib"
103 #define DLL_DEBUG_POSTFIX2 ".dll"
104 #endif
105#endif