Changeset View
Changeset View
Standalone View
Standalone View
interfaces/CMakeLists.txt
1 | project(KDEConnectInterfaces) | 1 | project(KDEConnectInterfaces) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | function(geninterface source_h output_h) | 3 | function(geninterface source_h output_h) | ||
4 | set(xml_file ${CMAKE_CURRENT_BINARY_DIR}/${output_h}.xml) | 4 | set(xml_file ${CMAKE_CURRENT_BINARY_DIR}/${output_h}.xml) | ||
5 | qt5_generate_dbus_interface( ${source_h} ${xml_file}) | 5 | qt5_generate_dbus_interface( ${source_h} ${xml_file}) | ||
6 | 6 | | |||
7 | list(APPEND libkdeconnect_HEADERS ${CMAKE_CURRENT_BINARY_DIR}/${output_h}) | 7 | list(APPEND libkdeconnect_HEADERS ${CMAKE_CURRENT_BINARY_DIR}/${output_h}) | ||
8 | set_source_files_properties(${xml_file} PROPERTIES NO_NAMESPACE true) | 8 | set_source_files_properties(${xml_file} PROPERTIES NO_NAMESPACE true) | ||
9 | 9 | | |||
10 | qt5_add_dbus_interface(libkdeconnect_SRC ${xml_file} ${output_h}) | 10 | qt5_add_dbus_interface(libkdeconnect_SRC ${xml_file} ${output_h}) | ||
11 | set(libkdeconnect_SRC ${libkdeconnect_SRC} PARENT_SCOPE) | 11 | set(libkdeconnect_SRC ${libkdeconnect_SRC} PARENT_SCOPE) | ||
12 | set(libkdeconnect_HEADERS ${libkdeconnect_HEADERS} PARENT_SCOPE) | 12 | set(libkdeconnect_HEADERS ${libkdeconnect_HEADERS} PARENT_SCOPE) | ||
13 | endfunction() | 13 | endfunction() | ||
14 | 14 | | |||
15 | | ||||
nicolasfella: Here's still a unrelated change. No need to upload a new diff, just remove it before pushing | |||||
16 | | ||||
15 | set(libkdeconnect_SRC | 17 | set(libkdeconnect_SRC | ||
16 | dbusinterfaces.cpp | 18 | dbusinterfaces.cpp | ||
17 | devicesmodel.cpp | 19 | devicesmodel.cpp | ||
18 | notificationsmodel.cpp | 20 | notificationsmodel.cpp | ||
19 | devicessortproxymodel.cpp | 21 | devicessortproxymodel.cpp | ||
20 | conversationmessage.cpp | 22 | conversationmessage.cpp | ||
21 | remotecommandsmodel.cpp | 23 | remotecommandsmodel.cpp | ||
22 | # modeltest.cpp | 24 | # modeltest.cpp | ||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |
Here's still a unrelated change. No need to upload a new diff, just remove it before pushing