diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-11-01 13:33:11 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-11-01 13:33:11 (GMT) |
commit | 52719a1d66db0bbdb17019bcb2ea5ab0a1258e22 (patch) | |
tree | 00916b0af679723b3fe59286139ed493ce8b286f /Source/cmTarget.cxx | |
parent | 1ecc55aa7b95a487996654e81d6493e7b72961c0 (diff) | |
download | CMake-52719a1d66db0bbdb17019bcb2ea5ab0a1258e22.zip CMake-52719a1d66db0bbdb17019bcb2ea5ab0a1258e22.tar.gz CMake-52719a1d66db0bbdb17019bcb2ea5ab0a1258e22.tar.bz2 |
automoc: fix #12541, support moc options
This commit adds a new target property AUTOMOC_MOC_OPTIONS, which
can be set to add extra options for the moc invocations done via automoc.
This is equivalent to the OPTIONS parameter in the qt4_wrap_cpp() macro.
Alex
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index f7d3ba9..e8064d0 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1179,6 +1179,7 @@ void cmTarget::SetMakefile(cmMakefile* mf) this->SetPropertyDefault("Fortran_MODULE_DIRECTORY", 0); this->SetPropertyDefault("OSX_ARCHITECTURES", 0); this->SetPropertyDefault("AUTOMOC", 0); + this->SetPropertyDefault("AUTOMOC_MOC_OPTIONS", 0); this->SetPropertyDefault("LINK_INTERFACE_LIBRARIES", 0); // Collect the set of configuration types. |