aboutsummaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
blob: 78d89657c9396cc3be69b3ec069b4b0f216a466f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# cups-notifier.h
# cups-notifier.c
include (GdbusCodegen)
add_gdbus_codegen_with_namespace (CUPS_NOTIFIER cups-notifier org.cups.cupsd Cups "${CMAKE_SOURCE_DIR}/src/org.cups.cupsd.Notifier.xml")

# mock-cups-notifier
add_executable (mock-cups-notifier mock-cups-notifier.c ${CUPS_NOTIFIER})
target_include_directories (mock-cups-notifier PUBLIC ${SERVICE_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries (mock-cups-notifier ${SERVICE_LIBRARIES})
add_test (mock-cups-notifier mock-cups-notifier)