~townsend/unity/fix-waiting-to-install

« back to all changes in this revision

Viewing changes to tests/test-gestures/CMakeLists.txt

  • Committer: Chris Townsend
  • Date: 2013-07-17 16:24:40 UTC
  • mfrom: (3379.1.48 trunk)
  • Revision ID: christopher.townsend@canonical.com-20130717162440-zbeyzlbq0kdvnypo
MergeĀ inĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
if (GTEST_SRC_DIR)
 
1
if (GTEST_ROOT_DIR)
2
2
  set(UNITY_SRC ${CMAKE_SOURCE_DIR}/plugins/unityshell/src)
3
3
 
4
4
  add_custom_command(OUTPUT CompoundGestureRecognizer.cpp
33
33
  remove_definitions(${CFLAGS})
34
34
  set_directory_properties(PROPERTY INCLUDE_DIRECTORIES "")
35
35
 
 
36
  include_directories (
 
37
    ${GMOCK_INCLUDE_DIR}
 
38
    ${GTEST_INCLUDE_DIR}
 
39
  )
 
40
 
36
41
  include_directories (${CMAKE_SOURCE_DIR})
37
42
  include_directories (${CMAKE_SOURCE_DIR}/unity-shared)
38
43
 
66
71
                 ubus-server-mock.cpp
67
72
                 UnityGestureTargetMock.h
68
73
                )
69
 
  target_link_libraries(test-gestures gtest ${TEST_GESTURES_DEPS_LIBRARIES} compiz_core)
 
74
  target_link_libraries(test-gestures gtest ${TEST_GESTURES_DEPS_LIBRARIES} compiz_core unity-core-${UNITY_API_VERSION})
70
75
  add_test(UnityGTestGestures test-gestures)
71
76
  add_dependencies(test-gestures gtest unity-core-${UNITY_API_VERSION})
72
77
 
73
78
  add_custom_target (check-gestures COMMAND ./test-gestures DEPENDS test-gestures)
74
 
endif (GTEST_SRC_DIR)
 
79
endif (GTEST_ROOT_DIR)