ECMAddTests: make NAME_PREFIX only apply to the test, not the target
Review Request #118768 - Created June 15, 2014 and submitted
|buildsystem, extracmakemodules, kdeframeworks|
ECMAddTests: make NAME_PREFIX only apply to the test, not the target David Faure and Patrick Spendrin have convinced me that NAME_PREFIX should be informational only, and not be used to prevent clashes, since it makes things confusing when you run tests manually.
Built and tested frameworks. Some need patching up (kconfig and kio in particular). I think the safest thing is to remove the use of NAME_PREFIX from those, so that people don't have to update ECM in order to build them. Also, I should write some unit tests...
Thanks. Actually I wouldn't mind if KIO and KConfig could keep using NAME_PREFIX, it makes clearer, in the output, which tests are for which lib. But yeah I started to remove the use of NAME_PREFIX in single-lib frameworks like kxmlgui.