You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
47 lines
1.7 KiB
47 lines
1.7 KiB
// 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_HAS_DECLSPEC) && (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 __declspec(dllexport) |
|
# define BOOST_MPI_PYTHON_BUILD_DLL |
|
# else |
|
# define BOOST_MPI_PYTHON_DECL __declspec(dllimport) |
|
# 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
|
|
|