Files
msgpack-msgpack-c/make_file_list.sh
T
2020-06-05 18:12:03 +08:00

10 lines
246 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