23 lines
606 B
C
23 lines
606 B
C
//
|
|
// Copyright Contributors to the MaterialX Project
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
#ifndef MATERIALX_GENOSL_EXPORT_H
|
|
#define MATERIALX_GENOSL_EXPORT_H
|
|
|
|
#include <MaterialXCore/Library.h>
|
|
|
|
/// @file
|
|
/// Macros for declaring imported and exported symbols.
|
|
|
|
#if defined(MATERIALX_GENOSL_EXPORTS)
|
|
#define MX_GENOSL_API MATERIALX_SYMBOL_EXPORT
|
|
#define MX_GENOSL_EXTERN_TEMPLATE(...) MATERIALX_EXPORT_EXTERN_TEMPLATE(__VA_ARGS__)
|
|
#else
|
|
#define MX_GENOSL_API MATERIALX_SYMBOL_IMPORT
|
|
#define MX_GENOSL_EXTERN_TEMPLATE(...) MATERIALX_IMPORT_EXTERN_TEMPLATE(__VA_ARGS__)
|
|
#endif
|
|
|
|
#endif
|