Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
core
src
Teuchos_DLLExportMacro.h
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Teuchos: Common Tools Package
4
//
5
// Copyright 2004 NTESS and the Teuchos contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#if defined (_WIN32) && defined (BUILD_SHARED_LIBS)
11
# if defined(TEUCHOSCORE_LIB_EXPORTS_MODE)
12
# define TEUCHOSCORE_LIB_DLL_EXPORT __declspec(dllexport)
13
# else
14
# define TEUCHOSCORE_LIB_DLL_EXPORT __declspec(dllimport)
15
# endif
16
#else
17
# define TEUCHOSCORE_LIB_DLL_EXPORT
18
#endif
19
20
#if defined (_WIN32) && defined (BUILD_SHARED_LIBS)
21
# if defined(TEUCHOSCOMM_LIB_EXPORTS_MODE)
22
# define TEUCHOSCOMM_LIB_DLL_EXPORT __declspec(dllexport)
23
# else
24
# define TEUCHOSCOMM_LIB_DLL_EXPORT __declspec(dllimport)
25
# endif
26
#else
27
# define TEUCHOSCOMM_LIB_DLL_EXPORT
28
#endif
29
30
#if defined (_WIN32) && defined (BUILD_SHARED_LIBS)
31
# if defined(TEUCHOSPARAMETERLIST_LIB_EXPORTS_MODE)
32
# define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT __declspec(dllexport)
33
# else
34
# define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT __declspec(dllimport)
35
# endif
36
#else
37
# define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
38
#endif
39
40
#if defined (_WIN32) && defined (BUILD_SHARED_LIBS)
41
# if defined(TEUCHOSNUMERICS_LIB_EXPORTS_MODE)
42
# define TEUCHOSNUMERICS_LIB_DLL_EXPORT __declspec(dllexport)
43
# else
44
# define TEUCHOSNUMERICS_LIB_DLL_EXPORT __declspec(dllimport)
45
# endif
46
#else
47
# define TEUCHOSNUMERICS_LIB_DLL_EXPORT
48
#endif
49
50
/* Defining this to allow the backwards compatibility testing to work. This is not needed for library code */
51
#define TEUCHOS_LIB_DLL_EXPORT
52
53
/* There is not export stuff used in the remainder subpackage yet. */
Generated on Thu Nov 21 2024 09:21:39 for Teuchos Package Browser (Single Doxygen Collection) by
1.8.5