Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:57

0001 // Copyright (C) 2006 Douglas Gregor <doug.gregor -at- gmail.com>
0002 
0003 // Use, modification and distribution is subject to the Boost Software
0004 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0005 // http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 /** @file config.hpp
0008  *
0009  *  This header provides auto-linking and configuration support for the 
0010  *  Boost.MPI python bindings.
0011  */
0012 #ifndef BOOST_MPI_PYTHON_CONFIG_HPP
0013 #define BOOST_MPI_PYTHON_CONFIG_HPP
0014 
0015 #include <boost/mpi/config.hpp>
0016 
0017 /*****************************************************************************
0018  *                                                                           *
0019  *  DLL import/export options                                                *  
0020  *                                                                           *
0021  *****************************************************************************/
0022 
0023 #if (defined(BOOST_MPI_PYTHON_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_MPI_PYTHON_STATIC_LINK)
0024 #  if defined(BOOST_MPI_PYTHON_SOURCE)
0025 #     define BOOST_MPI_PYTHON_DECL BOOST_SYMBOL_EXPORT
0026 #     define BOOST_MPI_PYTHON_BUILD_DLL
0027 #  else
0028 #     define BOOST_MPI_PYTHON_DECL BOOST_SYMBOL_IMPORT
0029 #  endif
0030 #endif
0031 
0032 #ifndef BOOST_MPI_PYTHON_DECL
0033 #  define BOOST_MPI_PYTHON_DECL
0034 #endif
0035 
0036 #if !defined(BOOST_MPI_PYTHON_NO_LIB) && !defined(BOOST_MPI_PYTHON_SOURCE) && !defined(BOOST_ALL_NO_LIB)
0037 #  define BOOST_LIB_NAME boost_mpi_python
0038 #  if defined(BOOST_MPI_PYTHON_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
0039 #     define BOOST_DYN_LINK
0040 #  endif
0041 #  ifdef BOOST_MPI_PYTHON_DIAG
0042 #     define BOOST_LIB_DIAGNOSTIC
0043 #  endif
0044 #  include <boost/config/auto_link.hpp>
0045 #endif
0046 
0047 #endif // BOOST_MPI_PYTHON_CONFIG_HPP