summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c6b37c5)
raw | patch | inline | side by side (parent: c6b37c5)
author | verbalshadow <verbalshadow@users.sourceforge.net> | |
Sat, 5 Apr 2008 17:19:47 +0000 (17:19 +0000) | ||
committer | verbalshadow <verbalshadow@users.sourceforge.net> | |
Sat, 5 Apr 2008 17:19:47 +0000 (17:19 +0000) |
CMakeScripts/UseGlibMarshal.cmake | patch | blob | history |
index 5843d00afc51985d12f8b5052f52f2d7cad9da75..6a6167bed82c769d7141d1ba58427a34524ff6ed 100644 (file)
EXECUTE_PROCESS(COMMAND "${GLIB_MARSHAL_EXECUTABLE} --prefix=${GLIB_MARSHAL_PREFIX} --header ${CMAKE_CURRENT_SOURCE_DIR}/${GLIB_MARSHAL_LIST}"
RESULT_VARIABLE GLIB_MARSHAL_OUTPUT_HEADER )
EXECUTE_PROCESS(COMMAND "${GLIB_MARSHAL_EXECUTABLE} --prefix=${GLIB_MARSHAL_PREFIX} --body ${CMAKE_CURRENT_SOURCE_DIR}/${GLIB_MARSHAL_LIST}"
- RESULT_VARIABLE GLIB_MARSHAL_OUTPUT_TEMP )
- SET(GLIB_MARSHAL_OUTPUT_CPP "${GLIB_MARSHAL_OUTPUT_EXTRA_LINE}${GLIB_MARSHAL_OUTPUT_TEMP}")
+ RESULT_VARIABLE GLIB_MARSHAL_OUTPUT_CPP )
+# SET(GLIB_MARSHAL_OUTPUT_CPP "${GLIB_MARSHAL_OUTPUT_EXTRA_LINE}${GLIB_MARSHAL_OUTPUT_TEMP}")
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${GLIB_MARSHAL_PREFIX}.h "${GLIB_MARSHAL_OUTPUT_HEADER}")
- FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${GLIB_MARSHAL_PREFIX}.cpp "${GLIB_MARSHAL_OUTPUT_CPP}")
+ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${GLIB_MARSHAL_PREFIX}.cpp "${GLIB_MARSHAL_OUTPUT_EXTRA_LINE}")
+ FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/${GLIB_MARSHAL_PREFIX}.cpp "${GLIB_MARSHAL_OUTPUT_CPP}")
ENDIF(GLIB_MARSHAL_EXECUTABLE)
ENDMACRO(GLIB_MARSHAL)