AGX Dynamics  2.35.0.1
agxBrick_export.h
Go to the documentation of this file.
1 #pragma once
2 /*
3 Copyright 2007-2022. Algoryx Simulation AB.
4 
5 All AGX source code, intellectual property, documentation, sample code,
6 tutorials, scene files and technical white papers, are copyrighted, proprietary
7 and confidential material of Algoryx Simulation AB. You may not download, read,
8 store, distribute, publish, copy or otherwise disseminate, use or expose this
9 material unless having a written signed agreement with Algoryx Simulation AB, or having been
10 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
11 valid commercial license from Algoryx Simulation AB.
12 
13 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
14 from using this software, unless otherwise stated in written agreements with
15 Algoryx Simulation AB.
16 */
17 
18 
19 #include <agx/config.h>
20 #include <agx/macros.h>
21 
23 
24 #if defined(_WIN32) && !defined(CALLABLE_GENERATOR)
25 
26 #if AGX_DYNAMIC() && defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
27 # if defined( AGXBRICK_LIBRARY_STATIC )
28 # define AGXBRICK_EXPORT
29 # elif defined( AGXBRICK_LIBRARY )
30 # define AGXBRICK_EXPORT __declspec(dllexport)
31 # else
32 # define AGXBRICK_EXPORT __declspec(dllimport)
33 # endif
34 #else
35 # define AGXBRICK_EXPORT
36 #endif
37 
38 #elif defined(CALLABLE_GENERATOR)
39  #define AGXBRICK_EXPORT
40 #else
41  // Non Win32
42  #if __GNUC__ >= 4
43  #define AGXBRICK_EXPORT __attribute__ ((visibility("default")))
44  #else
45  #define AGXBRICK_EXPORT
46  #endif
47 #endif
48 
49 
51 
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: macros.h:97
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: macros.h:96