Mercurial > public > ostc_companion
comparison Utils/Export.h @ 1:0b3630a29ad8
Initial version based on previous repository.
Project was ported to QT6 and in now cmake based.
| author | Ideenmodellierer <tiefenrauscher@web.de> |
|---|---|
| date | Thu, 27 Nov 2025 18:40:28 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:76ccd6ce50c0 | 1:0b3630a29ad8 |
|---|---|
| 1 #ifndef EXPORT_H | |
| 2 #define EXPORT_H | |
| 3 | |
| 4 | |
| 5 #pragma once | |
| 6 | |
| 7 // Auf Windows unterscheidet man zwischen DLL-Export (build der DLL) und DLL-Import (Verwendung der DLL) | |
| 8 #if defined(_WIN32) | |
| 9 #if defined(BUILDING_OSTC_COMPANION) | |
| 10 #define EXPORT __declspec(dllexport) | |
| 11 #else | |
| 12 #define EXPORT __declspec(dllimport) | |
| 13 #endif | |
| 14 #else | |
| 15 #define EXPORT | |
| 16 #endif | |
| 17 | |
| 18 #endif // EXPORT_H |
