ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_SOURCE_DIR}/qmi-message-${service}.h
COMMAND ${CMAKE_SOURCE_DIR}/data/gen-header.pl ${service}_ ${CMAKE_SOURCE_DIR}/data/qmi-service-${service}.json > ${CMAKE_SOURCE_DIR}/qmi-message-${service}.h
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_SOURCE_DIR}/qmi-message-${service}.h
COMMAND ${CMAKE_SOURCE_DIR}/data/gen-header.pl ${service}_ ${CMAKE_SOURCE_DIR}/data/qmi-service-${service}.json > ${CMAKE_SOURCE_DIR}/qmi-message-${service}.h