Centralize the cmake code for generating services and providers

Review Request #123129 - Created March 25, 2015 and submitted

Aleix Pol Gonzalez
kdepim, telepathy

I wanted to fix the code to generate it at build time rather than configure time, I saw the code was copypasted both in kaccounts-providers and ktp-accounts-kcm.

If we get this in, I can look into doing the generation properly.

Changed it in both places, still works.

Aleix Pol Gonzalez
Martin Klapetek
Aleix Pol Gonzalez
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 44bb1a9e46432099c4fc1d184a1ce350279b0e27 by Aleix Pol to branch master.