Blame view

3rdparty/boost_1_81_0/boost/mpi/python/config.hpp 1.67 KB
63e88f80   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  // Copyright (C) 2006 Douglas Gregor <doug.gregor -at- gmail.com>
  
  // Use, modification and distribution is subject to the Boost Software
  // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  // http://www.boost.org/LICENSE_1_0.txt)
  
  /** @file config.hpp
   *
   *  This header provides auto-linking and configuration support for the 
   *  Boost.MPI python bindings.
   */
  #ifndef BOOST_MPI_PYTHON_CONFIG_HPP
  #define BOOST_MPI_PYTHON_CONFIG_HPP
  
  #include <boost/mpi/config.hpp>
  
  /*****************************************************************************
   *                                                                           *
   *  DLL import/export options                                                *  
   *                                                                           *
   *****************************************************************************/
  
  #if (defined(BOOST_MPI_PYTHON_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_MPI_PYTHON_STATIC_LINK)
  #  if defined(BOOST_MPI_PYTHON_SOURCE)
  #     define BOOST_MPI_PYTHON_DECL BOOST_SYMBOL_EXPORT
  #     define BOOST_MPI_PYTHON_BUILD_DLL
  #  else
  #     define BOOST_MPI_PYTHON_DECL BOOST_SYMBOL_IMPORT
  #  endif
  #endif
  
  #ifndef BOOST_MPI_PYTHON_DECL
  #  define BOOST_MPI_PYTHON_DECL
  #endif
  
  #if !defined(BOOST_MPI_PYTHON_NO_LIB) && !defined(BOOST_MPI_PYTHON_SOURCE) && !defined(BOOST_ALL_NO_LIB)
  #  define BOOST_LIB_NAME boost_mpi_python
  #  if defined(BOOST_MPI_PYTHON_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
  #     define BOOST_DYN_LINK
  #  endif
  #  ifdef BOOST_MPI_PYTHON_DIAG
  #     define BOOST_LIB_DIAGNOSTIC
  #  endif
  #  include <boost/config/auto_link.hpp>
  #endif
  
  #endif // BOOST_MPI_PYTHON_CONFIG_HPP