1 MACRO(CREATE_FINAL_FILE _filename)
2 FILE(WRITE ${_filename} "//autogenerated file\n")
3 FOREACH (_current_FILE ${ARGN})
4 FILE(APPEND ${_filename} "#include \"${_current_FILE}\"\n")
5 ENDFOREACH (_current_FILE)
6 ENDMACRO(CREATE_FINAL_FILE _filename)