auto detect glade files

This commit is contained in:
Mario Hüttel 2018-07-20 23:22:47 +02:00
parent f8cbf7e066
commit dac834aef2

View File

@ -1,8 +1,6 @@
add_custom_target(glib-resources DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/resources.c) add_custom_target(glib-resources DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/resources.c)
add_custom_command(DEPENDS add_custom_command(DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/resources.xml ${CMAKE_CURRENT_SOURCE_DIR}/*.glade
${CMAKE_CURRENT_SOURCE_DIR}/main.glade
${CMAKE_CURRENT_SOURCE_DIR}/layer-widget.glade
OUTPUT OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/resources.c ${CMAKE_CURRENT_BINARY_DIR}/resources.c
COMMAND COMMAND