mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Build: Add static icsneo40 target
This commit is contained in:
committed by
Kyle Schwarz
parent
16b60d5ca0
commit
85178368d7
@@ -9,7 +9,12 @@
|
||||
#include "icsneo/platform/posix/linux/dynamiclib.h"
|
||||
#endif
|
||||
|
||||
#ifndef ICSNEOC_BUILD_STATIC
|
||||
#define DLLExport __attribute__((visibility("default")))
|
||||
#else
|
||||
#define DLLExport
|
||||
#endif
|
||||
|
||||
#define LegacyDLLExport DLLExport
|
||||
|
||||
// #ifndef ICSNEO_NO_AUTO_DESTRUCT
|
||||
|
||||
@@ -3,11 +3,17 @@
|
||||
|
||||
#include "icsneo/platform/windows.h"
|
||||
|
||||
#ifndef ICSNEOC_BUILD_STATIC
|
||||
#ifdef ICSNEOC_MAKEDLL
|
||||
#define DLLExport __declspec(dllexport)
|
||||
#else
|
||||
#define DLLExport __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define DLLExport
|
||||
#endif
|
||||
|
||||
|
||||
#define LegacyDLLExport DLLExport _stdcall
|
||||
|
||||
// MSVC does not have the ability to specify a destructor
|
||||
|
||||
Reference in New Issue
Block a user