Bifrost SDK
Bifrost SDK documentation
GeometryExport.h
Go to the documentation of this file.
1//-
2//*****************************************************************************
3// Copyright (c) 2024 Autodesk, Inc.
4// All rights reserved.
5//
6// Use of this software is subject to the terms of the Autodesk license
7// agreement provided at the time of installation or download, or which
8// otherwise accompanies this software in either electronic or hard copy form.
9// =============================================================================
10//+
11
12//
17
18#ifndef BIFROST_GEOMETRY_EXPORT_H
19#define BIFROST_GEOMETRY_EXPORT_H
20
21#if defined(_WIN32)
22#define BIFROST_GEOMETRY_EXPORT __declspec(dllexport)
23#define BIFROST_GEOMETRY_IMPORT __declspec(dllimport)
24#elif defined(__GNUC__)
25#define BIFROST_GEOMETRY_EXPORT __attribute__ ((visibility("default")))
26#define BIFROST_GEOMETRY_IMPORT __attribute__ ((visibility("default")))
27#else
28#define BIFROST_GEOMETRY_EXPORT
29#define BIFROST_GEOMETRY_IMPORT
30#endif
31
32#if defined(BIFROST_GEOMETRY_BUILD_DLL)
33#define BIFROST_GEOMETRY_DECL BIFROST_GEOMETRY_EXPORT
34#else
35#define BIFROST_GEOMETRY_DECL BIFROST_GEOMETRY_IMPORT
36#endif
37
38#ifndef BIFMETADOC
39#define BIFMETADOC(fDoc) \
40 "{documentation, \\../docs/\\$\\{language\\}/" fDoc "}"
41#endif
42
43#ifndef BIFMETAICN
44#define BIFMETAICN(fIcn) "{icon, \\../icons/" fIcn ".svg}"
45#endif
46
47#endif