c++ - How to view the exact command cmake_automoc is running? -
i have issue automoc in moc fails parse error @ "boost_join"
. tried "least evil" hack outlined here, no avail (speficially, added set(cmake_automoc_moc_options "-dboost_tt_has_operator_hpp_included")
cmakelists.txt
). further, when try moc offending file myself, seems work.
i'd know exact command cmake running can continue debugging this. if ninja -v
, (equivalent of make verbose=1
), like:
cd projdir && cmake -e cmake_automoc projdir/cmakefiles/proj_automoc.dir/ debug
if run myself, sure enough same parse error @ "boost_join"
message, still don't know how cmake calling moc
.
cmake --debug-output -e cmake_automoc ...
throws usage error.
once have done cmake configure step , generated build scripts (eithe vs solution files or unix makefiles), can use cmake build
option described in manual cmake(1). if using makefiles, can use:
make verbose=1
for visual studio, see there option produce more 'verbose' compiling? details.
Comments
Post a Comment