|
XPMP2
X-Plane multiplayer library 2 - using instancing
|
Macro definitions to support building/using a Windows DLL. More...
Go to the source code of this file.
Macros | |
| #define | XPMP2_EXPORT |
Macro definitions to support building/using a Windows DLL.
When building a Windows DLL version of XPMP2, This file switches between dllexport and dllimport declarations.
The default remains to be building a static library, for which you as a plugin author don't need to set anything special.
Before considering to use a DLL version refer to the XPMP2 Build documentation.
The XPMP2 build process defines XPMP2_DLLEXPORT when -D"XPMP2_BUILD_SHARED_LIBS:boolean=TRUE" is passed to the cmake call, to build the DLL.
If you want to use the XPMP2.dll from your plugin you need to
XPMP2_DLLIMPORT before including any XPMP2 header,XPMP2.lib DLL import library, one of the outputs of the DLL build process, andXPMP2.dll with your plugin.| #define XPMP2_EXPORT |