medit/moo/mooutils/genpixbufcsource.cmake.in
Yevgen Muntyan 51544d922b win32, msvc
2009-11-14 11:57:35 -08:00

15 lines
436 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)