16cc0f5ebb
Static plugins being linked with shared libraries doesn't work smoothly. POSITION_INDEPENDENT_CODE target property needs to be set for every such plugin. However, there can be targets that we have no control over, which need POSITION_INDEPENDENT_CODE to be set too. Asking such projects to add this property and them refusing to do so would be reasonable because kwin's entire static plugin pipeline is weird. The test framework was made a shared library because kwin build directory used to get really big (in 10s of gigabytes). Due to the -fPIC issues, this change makes the test framework a static lib again. Obviously, this brings back the big build directory problem. But, it's not as terrible as it used to be. With this change, kwin build directory is a couple of gigabytes in debug build, which is a lot but not as bad as it used to be before.
9 lines
907 B
CMake
9 lines
907 B
CMake
integrationTest(NAME testTranslucency SRCS translucency_test.cpp LIBS XCB::ICCCM BUILTIN_EFFECTS)
|
|
integrationTest(NAME testSlidingPopups SRCS slidingpopups_test.cpp LIBS XCB::ICCCM BUILTIN_EFFECTS)
|
|
integrationTest(NAME testShadeWobblyWindows SRCS wobbly_shade_test.cpp LIBS XCB::ICCCM BUILTIN_EFFECTS)
|
|
integrationTest(NAME testScriptedEffects SRCS scripted_effects_test.cpp BUILTIN_EFFECTS)
|
|
integrationTest(NAME testToplevelOpenCloseAnimation SRCS toplevel_open_close_animation_test.cpp BUILTIN_EFFECTS)
|
|
integrationTest(NAME testPopupOpenCloseAnimation SRCS popup_open_close_animation_test.cpp BUILTIN_EFFECTS)
|
|
integrationTest(NAME testDesktopSwitchingAnimation SRCS desktop_switching_animation_test.cpp BUILTIN_EFFECTS)
|
|
integrationTest(NAME testMinimizeAnimation SRCS minimize_animation_test.cpp BUILTIN_EFFECTS)
|
|
integrationTest(NAME testMaximizeAnimation SRCS maximize_animation_test.cpp BUILTIN_EFFECTS)
|