summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-10-22 19:16:39 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-10-22 19:16:39 (GMT)
commit5e8e9ad68ca9e617ef5442236247a49e3b246a5d (patch)
tree7040108c08a216c8457910e1af5e483b5d3607f7 /.gitattributes
parentea8ac9f5dc2eab7b263a18eee5db75aedd31e26a (diff)
downloadCMake-5e8e9ad68ca9e617ef5442236247a49e3b246a5d.zip
CMake-5e8e9ad68ca9e617ef5442236247a49e3b246a5d.tar.gz
CMake-5e8e9ad68ca9e617ef5442236247a49e3b246a5d.tar.bz2
automoc: always run moc on the cpp file if there is a foo.moc included
This makes automoc behaves as the documentation says. If there is a #include "foo.moc" in the source file, moc will be executed on foo.cpp. Before it was also executed on foo.cpp, but only if foo.cpp contained a Q_OBJECT macro, otherwise moc was executed on foo.h. This was confusing, and this change also shouldn't break anything, since the headers are moc'ed anyway if they contain a Q_OBJECT macro. Alex
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions