summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-12-06 19:42:20 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-12-06 19:42:20 (GMT)
commit1eca18fd522575126b4d1e4faa3c9437d2f12e22 (patch)
tree64d45e36ece03aae68e2f91b62c05021355c736d /Source/cmDocumentVariables.cxx
parentbc278ceb0f704ada0cc2cecedc01dd2cb6dc603a (diff)
downloadCMake-1eca18fd522575126b4d1e4faa3c9437d2f12e22.zip
CMake-1eca18fd522575126b4d1e4faa3c9437d2f12e22.tar.gz
CMake-1eca18fd522575126b4d1e4faa3c9437d2f12e22.tar.bz2
automoc: add documentation for CMAKE_AUTOMOC_STRICT_MODE
Alex
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index f46e1ce..7370ef4 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -508,6 +508,20 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
"Variables That Change Behavior");
cm->DefineProperty
+ ("CMAKE_AUTOMOC_STRICT_MODE", cmProperty::VARIABLE,
+ "Switch between strict and relaxed automoc mode.",
+ "When TRUE, automoc behaves exactly as described in the documentation "
+ "of the AUTOMOC target property. "
+ "When set to FALSE, it accepts more input and tries to find the correct "
+ "input file for moc even if it differs from the documented behaviour. "
+ "In this mode it e.g. also checks whether a header file is intended to "
+ "be processed by moc when a \"foo.moc\" file has been included.\n"
+ "When using Qt4, CMAKE_AUTOMOC_STRICT_MODE is initialized to FALSE. "
+ "It also has to be set to FALSE for KDE4 compatibility.",
+ false,
+ "Variables That Change Behavior");
+
+ cm->DefineProperty
("CMAKE_FIND_LIBRARY_PREFIXES", cmProperty::VARIABLE,
"Prefixes to prepend when looking for libraries.",
"This specifies what prefixes to add to library names when "