Add #defines to trick moc

(cherry picked from commit 5db9675db8)

Conflicts:
	Installation/include/CGAL/config.h
This commit is contained in:
Andreas Fabri 2015-01-19 17:54:26 +01:00 committed by Laurent Rineau
parent eb5e2c6800
commit e08c28727c
1 changed files with 30 additions and 0 deletions

View File

@ -49,6 +49,36 @@
// 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
#endif
// The following header file defines among other things BOOST_PREVENT_MACRO_SUBSTITUTION