Merge topic 'CMAKE_AUTOMOC-Qt5-docs'

1b386b3 Document that CMAKE_AUTOMOC works with Qt 5.
This commit is contained in:
Brad King 2013-03-18 09:41:55 -04:00 committed by CMake Topic Stage
commit 85f7caabbb
1 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,8 @@ void cmTarget::DefineProperties(cmake *cm)
"Should the target be processed with automoc (for Qt projects).",
"AUTOMOC is a boolean specifying whether CMake will handle "
"the Qt moc preprocessor automatically, i.e. without having to use "
"the QT4_WRAP_CPP() macro. Currently Qt4 is supported. "
"the QT4_WRAP_CPP() or QT5_WRAP_CPP() macro. Currently Qt4 and Qt5 are "
"supported. "
"When this property is set to TRUE, CMake will scan the source files "
"at build time and invoke moc accordingly. "
"If an #include statement like #include \"moc_foo.cpp\" is found, "