~smspillaz/compiz-core/compiz-core.extents-tests

« back to all changes in this revision

Viewing changes to src/window/extents/tests/CMakeLists.txt

  • Committer: smspillaz
  • Date: 2012-01-19 20:18:20 UTC
  • Revision ID: sam.spilsbury@canonical.com-20120119201820-kduac8hd6aw2t4wy
Added window extents module and tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
 
2
 
 
3
add_library (compiz_window_extents_test
 
4
             ${CMAKE_CURRENT_SOURCE_DIR}/test-window-extents.cpp)
 
5
 
 
6
add_executable (compiz_test_window_extents_shift
 
7
                ${CMAKE_CURRENT_SOURCE_DIR}/shift/src/test-window-extents-shift.cpp)
 
8
 
 
9
target_link_libraries (compiz_test_window_extents_shift
 
10
                       compiz_window_extents_test
 
11
                       compiz_window_extents 
 
12
                       ${GTEST_BOTH_LIBRARIES}
 
13
                       ${GMOCK_LIBRARY}
 
14
                       ${GMOCK_MAIN_LIBRARY}
 
15
                       ${CMAKE_THREAD_LIBS_INIT} # Link in pthread. 
 
16
                       )
 
17
 
 
18
add_test (compiz_window_extents_shift compiz_test_window_extents_shift)