I my trying to run a project using waf
which uses boost
library . To overcome a problem I need to pass and -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED
argument to MOC
. I tried doing so in the wscript
as
bld(features ='cxx',
source ='GSTEngine.cpp',
target = 'GSTEngine.o',
includes = qtinc+gstinc+taginc,use=['BOOST'],
uselib = qtlibs,
cxxflags = ['-DQT_NO_KEYWORDS','-DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED'])
but it failed. How to pass argument to MOC
using waf
?