File and Pipe: set fileptr to nil on close() (HJH requested fix)
[supercollider.git] / cmake_modules / FinalFile.cmake
blobd6b5a550beb8b36d0d1a28d7677a4defa22c7e5e
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)