medit/moo/mooutils/genpixbufcsource.cmake.in
2010-01-21 23:42:47 -08:00

15 lines
422 B
CMake

INCLUDE(@MOO_SOURCE_DIR@/cmake/modules/FindMooCmakeUtils.cmake)
SET(pixbufargs @pixbufargs@)
MOO_EXEC_OR_DIE("@GDK_PIXBUF_CSOURCE_EXECUTABLE@ --static --build-list ${pixbufargs}"
COMMAND "@GDK_PIXBUF_CSOURCE_EXECUTABLE@" --static --build-list ${pixbufargs}
OUTPUT_FILE @output_full@.tmp
)
MOO_COPY_IF_CHANGED(@output_full@.tmp @output_full@)
FILE(WRITE @output_full@.stamp "stamp")
FILE(REMOVE @output_full@.tmp)