add_executable (compiz_test_outputdevices
    test_outputdevices.cpp
)

include_directories (
    ${COMPIZ_MAIN_SOURCE_DIR}
    ${COMPIZ_MAIN_SOURCE_DIR}/rect/include
    ${COMPIZ_MAIN_SOURCE_DIR}/region/include
    ${COMPIZ_MAIN_SOURCE_DIR}/timer/include
    ${COMPIZ_MAIN_SOURCE_DIR}/pluginclasshandler/include
    ${COMPIZ_MAIN_SOURCE_DIR}/window/geometry/include
    ${COMPIZ_MAIN_SOURCE_DIR}/window/extents/include
    ${COMPIZ_MAIN_SOURCE_DIR}/servergrab/include
    ${COMPIZ_INCLUDE_DIRS}
)

link_directories (${COMPIZ_MAIN_BINARY_DIR})

target_link_libraries (compiz_test_outputdevices
    -Wl,-start-group
    compiz_size
    compiz_output
    compiz_outputdevices
    compiz_rect
    compiz_region
    compiz_window_geometry
    -Wl,-end-group
    ${GTEST_BOTH_LIBRARIES}
)

compiz_discover_tests(compiz_test_outputdevices COVERAGE compiz_core)

add_executable (compiz_test_configurerequestbuffer
                test_configurerequestbuffer.cpp)

target_link_libraries (compiz_test_configurerequestbuffer
    compiz_configurerequestbuffer
    ${GTEST_BOTH_LIBRARIES}
    ${GMOCK_MAIN_LIBRARY}
    ${GMOCK_LIBRARY}
)

compiz_discover_tests(compiz_test_configurerequestbuffer COVERAGE compiz_configurerequestbuffer)
