Remove grantlee_add_plugin macro. Add macro to adjust plugin name.
authorStephen Kelly <steveire@gmail.com>
Tue, 3 Sep 2013 08:33:42 +0000 (10:33 +0200)
committerStephen Kelly <steveire@gmail.com>
Sat, 21 Sep 2013 09:56:29 +0000 (11:56 +0200)
commit6ad1061c9785e8365d2ebc78ed865e3717b2eacd
tree8d9c78ae1b628bf191f546ba832be9ea5f3cc0eb
parent146bd0b91e77d257eb32cf1783ab140af8a339dc
Remove grantlee_add_plugin macro. Add macro to adjust plugin name.

The grantlee_add_plugin macro predates automoc, and was partly
added to simplify moc'ing. Now we expect downstreams to use
CMAKE_AUTOMOC or to otherwise handle the moc issue themselves.

Additionally, make downstream linking to grantlee_core more explicit
by not hiding it in a macro.

The code to add all sources to a global property is specific to
the Grantlee build for coverage analysis, and is not relevant to
downstreams anyway.
cmake/modules/GrantleeUse.cmake
examples/htmlapps/CMakeLists.txt
examples/textedit/CMakeLists.txt
templates/defaultfilters/CMakeLists.txt
templates/defaulttags/CMakeLists.txt
templates/i18n/CMakeLists.txt
templates/loadertags/CMakeLists.txt
templates/scriptabletags/CMakeLists.txt