Feature request: New concat batch cmake command
There is no cross-platform 'cat' for now to be used as COMMAND in add_custom_command or add_custom_target. The existing file(APPEND) does not work for binary files, so doing cmake -P concat.cmake would not produce proper output. A soultion might be new concat command.
cmake -E concat inputs... output
This would produce concatenated binary input files as output file. Using cat on Linux and copy /b on Windows does not look like a clean solution.