~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

Viewing changes to plugins/resize/src/logic/tests/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-22 06:58:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3352.
  • Revision ID: package-import@ubuntu.com-20130822065807-17nlzez0d30y09so
Tags: upstream-0.9.10+13.10.20130822
ImportĀ upstreamĀ versionĀ 0.9.10+13.10.20130822

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
find_library (GMOCK_LIBRARY gmock)
2
 
find_library (GMOCK_MAIN_LIBRARY gmock_main)
3
 
 
4
 
if (NOT GMOCK_LIBRARY OR NOT GMOCK_MAIN_LIBRARY OR NOT GTEST_FOUND)
5
 
  message ("Google Mock and Google Test not found - cannot build tests!")
6
 
  set (COMPIZ_BUILD_TESTING OFF)
7
 
endif (NOT GMOCK_LIBRARY OR NOT GMOCK_MAIN_LIBRARY OR NOT GTEST_FOUND)
8
 
 
9
 
include_directories (${GTEST_INCLUDE_DIRS})
10
 
 
11
 
link_directories (${COMPIZ_LIBRARY_DIRS})
12
 
 
13
1
add_executable (compiz_test_resize_logic
14
2
                test-logic.cpp
15
3
                resize-options-mock.cpp
20
8
                       compiz_core
21
9
                       ${GTEST_BOTH_LIBRARIES}
22
10
                       ${GMOCK_LIBRARY}
23
 
                       ${GMOCK_MAIN_LIBRARY}
24
 
                       ${CMAKE_THREAD_LIBS_INIT} # Link in pthread.
25
 
                       )
 
11
                       ${GMOCK_MAIN_LIBRARY})
26
12
 
27
13
compiz_discover_tests (compiz_test_resize_logic COVERAGE resize_logic)