~unity-team/unity/4.0

1410.5.10 by Sam Spilsbury
Added test-get-transients
1
project (test-input-remover)
2
3
include (FindPkgConfig)
4
5
pkg_check_modules (COMPIZ_TEST_GET_TRANSIENTS REQUIRED x11 xext)
6
7
if (COMPIZ_TEST_GET_TRANSIENTS_FOUND)
8
	include_directories (${COMPIZ_TEST_GET_TRANSIENTS_INCLUDE_DIRS}
1410.5.12 by Sam Spilsbury
Added minimize window handler test and split out X11Window into its own file
9
			     ..
1410.5.10 by Sam Spilsbury
Added test-get-transients
10
			     ../../plugins/unityshell/src)
11
12
	link_directories (${COMPIZ_TEST_GET_TRANSIENTS_LINK_DIRS})
13
14
	add_executable (test-get-transients
15
			test-get-transients.cpp
16
			../../plugins/unityshell/src/transientfor.cpp
1410.5.12 by Sam Spilsbury
Added minimize window handler test and split out X11Window into its own file
17
			../../plugins/unityshell/src/inputremover.cpp
1410.5.13 by Sam Spilsbury
Added an x11-window-read-transients, which reads transient information
18
			../x11-window.cpp
19
			../x11-window-read-transients.cpp)
1410.5.10 by Sam Spilsbury
Added test-get-transients
20
21
	target_link_libraries (test-get-transients
22
			       ${COMPIZ_TEST_GET_TRANSIENTS_LIBRARIES})
1732.2.1 by Sam Spilsbury
Also add a dependency on libunity-core for the window handling tests and
23
	add_dependencies (test-get-transients unity-core-${UNITY_API_VERSION})
1410.5.10 by Sam Spilsbury
Added test-get-transients
24
25
endif (COMPIZ_TEST_GET_TRANSIENTS_FOUND)