1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-07 10:51:45 +00:00
dolphin/cmake/DbusInterfaceMacros.cmake

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
543 B
CMake
Raw Normal View History

macro (generate_and_install_dbus_interface main_project_target header_file output_xml_file)
qt_generate_dbus_interface(
${header_file}
${output_xml_file}
)
add_custom_target(
${output_xml_file}_target
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
2019-05-12 11:09:39 +00:00
)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}
)
add_dependencies(
${main_project_target}
${output_xml_file}_target
)
endmacro ()