source: lliurex-apt/trunk/fuentes/rsrc/CMakeLists.txt @ 923

Last change on this file since 923 was 923, checked in by mabarracus, 4 years ago

Imported trusty code

File size: 459 bytes
Line 
1
2add_custom_command(OUTPUT gresources.h COMMAND glib-compile-resources --generate-header --target=${CMAKE_BINARY_DIR}/src/gresources.h lliurex-apt.xml WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/rsrc)
3add_custom_command(OUTPUT gresources.c COMMAND glib-compile-resources --generate-source --target=${CMAKE_BINARY_DIR}/src/gresources.c lliurex-apt.xml WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/rsrc)
4
5add_custom_target(resources ALL DEPENDS gresources.h gresources.c)
6
7
Note: See TracBrowser for help on using the repository browser.