Sha256: 81076fcd18aca0cc1940ba0f9349f5554aa2ad44c8fa12e7c24082015b1df02f

Contents?: true

Size: 746 Bytes

Versions: 14

Compression:

Stored size: 746 Bytes

Contents

#!/bin/sh

find src -name "*.c" | sed -e 's/\s\+/\n/g' | sort > srcs.tmp
find include -name "*.h" | sed -e 's/\s\+/\n/g' | sort > c_headers.tmp
find include -name "*.hpp" | sed -e 's/\s\+/\n/g' | sort > cpp_headers.tmp

echo 'LIST (APPEND msgpackc_SOURCES' > Files.cmake
cat srcs.tmp | sed -e 's/^/    /g' >> Files.cmake
echo ')' >> Files.cmake

echo 'LIST (APPEND msgpackc_HEADERS' >> Files.cmake
cat c_headers.tmp | sed -e 's/^/    /g' >> Files.cmake
echo ')' >> Files.cmake

echo 'IF (MSGPACK_ENABLE_CXX)' >> Files.cmake
echo '    LIST (APPEND msgpackc_HEADERS' >> Files.cmake
cat cpp_headers.tmp | sed -e 's/^/        /g' >> Files.cmake
echo '    )' >> Files.cmake
echo 'ENDIF ()' >> Files.cmake

rm -f srcs.tmp c_headers.tmp cpp_headers.tmp

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
script_core-0.2.5 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.2.4 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.2.3 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.2.2 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.2.1 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.2.0 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.1.1 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.1.0 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.0.6 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.0.5 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.0.4 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.0.3 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.0.2 ext/enterprise_script_service/msgpack/make_file_list.sh
script_core-0.0.1 ext/enterprise_script_service/msgpack/make_file_list.sh