msgpack/make_file_list.sh
2020-06-10 13:26:40 +09:00

10 lines
245 B
Bash
Executable File

#!/bin/bash
find include -name "*.hpp" | sed -e 's/\s\+/\n/g' | LC_ALL=C sort > cpp_headers.tmp
echo 'SET (msgpackc_HEADERS' > Files.cmake
cat cpp_headers.tmp | sed -e 's/^/ /g' >> Files.cmake
echo ')' >> Files.cmake
rm -f cpp_headers.tmp