~unity-team/unity/4.0

« back to all changes in this revision

Viewing changes to tests/test-minimize-window-handler/CMakeLists.txt

MergeĀ lp:~unity-team/unity/unity.minimized_windows_switcher

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project (test-input-remover)
 
2
 
 
3
include (FindPkgConfig)
 
4
 
 
5
pkg_check_modules (COMPIZ_TEST_MINIMIZED_HANDER REQUIRED x11 xext)
 
6
 
 
7
if (COMPIZ_TEST_MINIMIZED_HANDER_FOUND)
 
8
        include_directories (${COMPIZ_TEST_MINIMIZED_HANDER_INCLUDE_DIRS}
 
9
                             ..
 
10
                             ../../plugins/unityshell/src)
 
11
 
 
12
        link_directories (${COMPIZ_TEST_MINIMIZED_HANDER_LINK_DIRS})
 
13
 
 
14
        add_executable (test-minimize-handler
 
15
                        test-minimize-handler.cpp
 
16
                        ../../plugins/unityshell/src/minimizedwindowhandler.cpp
 
17
                        ../x11-window.cpp
 
18
                        ../x11-window-read-transients.cpp
 
19
                        ../../plugins/unityshell/src/transientfor.cpp
 
20
                        ../../plugins/unityshell/src/inputremover.cpp)
 
21
 
 
22
        target_link_libraries (test-minimize-handler
 
23
                               ${COMPIZ_TEST_MINIMIZED_HANDER_LIBRARIES})
 
24
 
 
25
endif (COMPIZ_TEST_MINIMIZED_HANDER_FOUND)