Skip to content

Commit

Permalink
Merge branch 'cmake-warning'
Browse files Browse the repository at this point in the history
  • Loading branch information
Taose committed Mar 19, 2017
2 parents c9a1de3 + 6e19bef commit 13df6fe
Show file tree
Hide file tree
Showing 31 changed files with 6,703 additions and 0 deletions.
34 changes: 34 additions & 0 deletions engine/boost/1_63/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
add_definitions(-DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB)
include_directories("${vsUTCS_SOURCE_DIR}/boost/1_63")
add_library(boost_python
src/object/inheritance.cpp
src/object/function.cpp
src/object/stl_iterator.cpp
src/object/class.cpp
src/object/life_support.cpp
src/object/enum.cpp
src/object/function_doc_signature.cpp
src/object/pickle_support.cpp
src/object/iterator.cpp
src/object_protocol.cpp
src/list.cpp
src/tuple.cpp
src/exec.cpp
src/numeric.cpp
src/slice.cpp
src/wrapper.cpp
src/errors.cpp
src/long.cpp
src/dict.cpp
src/module.cpp
src/object_operators.cpp
src/import.cpp
src/str.cpp
src/converter/type_id.cpp
src/converter/from_python.cpp
src/converter/builtin_converters.cpp
src/converter/arg_to_python_base.cpp
src/converter/registry.cpp)

add_library(boost_system
system/error_code.cpp)
28 changes: 28 additions & 0 deletions engine/boost/1_63/src/converter/arg_to_python_base.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Copyright David Abrahams 2002.
// Distributed under 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)

#include <boost/python/converter/arg_to_python_base.hpp>
#include <boost/python/errors.hpp>
#include <boost/python/converter/registrations.hpp>
#include <boost/python/handle.hpp>
#include <boost/python/refcount.hpp>

namespace boost { namespace python { namespace converter {

namespace detail
{
arg_to_python_base::arg_to_python_base(
void const volatile* source, registration const& converters)
# if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER > 13102179
: handle<>
# else
: m_ptr
# endif
(converters.to_python(source))
{
}
}

}}} // namespace boost::python::converter
Loading

0 comments on commit 13df6fe

Please sign in to comment.