Add #defines to trick moc

This commit is contained in:
Andreas Fabri 2015-01-19 17:54:26 +01:00
parent f97bd9fb33
commit 5db9675db8
1 changed files with 27 additions and 0 deletions

View File

@ -49,6 +49,33 @@
// When Qt moc runs on CGAL files, do not process
// <boost/type_traits/has_operator.hpp>
# define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED
# define BOOST_TT_HAS_BIT_AND_ASSIGN_HPP_INCLUDED
# define BOOST_TT_HAS_BIT_OR_HPP_INCLUDED
# define BOOST_TT_HAS_BIT_OR_ASSIGN_HPP_INCLUDED
# define BOOST_TT_HAS_BIT_XOR_HPP_INCLUDED
# define BOOST_TT_HAS_BIT_XOR_ASSIGN_HPP_INCLUDED
# define BOOST_TT_HAS_DIVIDES_HPP_INCLUDED
# define BOOST_TT_HAS_DIVIDES_ASSIGN_HPP_INCLUDED
# define BOOST_TT_HAS_EQUAL_TO_HPP_INCLUDED
# define BOOST_TT_HAS_GREATER_HPP_INCLUDED
# define BOOST_TT_HAS_GREATER_EQUAL_HPP_INCLUDED
# define BOOST_TT_HAS_LEFT_SHIFT_HPP_INCLUDED
# define BOOST_TT_HAS_LEFT_SHIFT_ASSIGN_HPP_INCLUDED
# define BOOST_TT_HAS_LESS_HPP_INCLUDED
# define BOOST_TT_HAS_LESS_EQUAL_HPP_INCLUDED
# define BOOST_TT_HAS_LOGICAL_AND_HPP_INCLUDED
# define BOOST_TT_HAS_LOGICAL_OR_HPP_INCLUDED
# define BOOST_TT_HAS_MINUS_HPP_INCLUDED
# define BOOST_TT_HAS_MINUS_ASSIGN_HPP_INCLUDED
# define BOOST_TT_HAS_MODULUS_HPP_INCLUDED
# define BOOST_TT_HAS_MODULUS_ASSIGN_HPP_INCLUDED
# define BOOST_TT_HAS_MULTIPLIES_HPP_INCLUDED
# define BOOST_TT_HAS_MULTIPLIES_ASSIGN_HPP_INCLUDED
# define BOOST_TT_HAS_NOT_EQUAL_TO_HPP_INCLUDED
# define BOOST_TT_HAS_PLUS_HPP_INCLUDED
# define BOOST_TT_HAS_PLUS_ASSIGN_HPP_INCLUDED
# define BOOST_TT_HAS_RIGHT_SHIFT_HPP_INCLUDED
# define BOOST_TT_HAS_RIGHT_SHIFT_ASSIGN_HPP_INCLUDED
// do not include <boost/random.hpp> either
// it includes <boost/type_traits/has_binary_operator.hpp>
# define BOOST_RANDOM_HPP