[CMake] Variable for AUTOMOC files?

Scott Aron Bloom scott.bloom at onshorecs.com
Sat Nov 1 17:00:09 EDT 2014


I am setting and using CMAKE_AUTOMOC to on, however, for Qt4+Cmake 2.8 builds, I would put the moc files into a separate folder (Visual Studio) using

source_group("Generated Files" FILES ${qtproject_MOC_SRCS})

Where qtproject_MOC_SRCS was defined via
QT4_WRAP_CPP(qtproject_MOC_SRCS ${mocheaders})

Is there a variable set in CMake 3.X for AUTOMOC that would allow the same flexibility?

Scott

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141101/a422a4d1/attachment.html>


More information about the CMake mailing list