1# Concatenates all .metal sources into one C++ translation unit exposing raid::metal::msl_bundle().2set(_out "namespace raid { namespace metal { const char* msl_bundle() { return R\"RAIDMSL(\n")3set(_sep "")4foreach(s ${SHADERS})5 file(READ ${s} _c)6 string(APPEND _out "// ---- ${s}\n${_c}\n")7endforeach()8string(APPEND _out ")RAIDMSL\"; } } }\n")9file(WRITE ${OUT} "${_out}")10