Diffusion KWin 1f2b47a83b07

[autotests/integration] Simplify the cmake for creating a test

Authored by graesslin on Jun 30 2016, 6:37 AM.

Description

[autotests/integration] Simplify the cmake for creating a test

Summary:
A dedicated cmake function is added to create a test case. It takes
a NAME, the SRCS and additional LIBS.

Thus it's
integrationTest(NAME myTestCase SRCS test.cpp)

to create a standard integration test.

In addition kwin_wayland_test.cpp is compiled into a static library
to decrease the compile time a little bit.

Reviewers: KWin, Plasma on Wayland

Subscribers: plasma-devel, kwin

Tags: Plasma on Wayland, KWin

Differential Revision: https://phabricator.kde.org/D2052