mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
066d509a68
To remove boost dependency, `-DMSGPACK_USE_BOOST=OFF` for cmake. By default, `-DMSGPACK_USE_BOOST` is `ON`. NOTE: In order to build tests `-DMSGPACK_USE_BOOST=ON` is required. For C++ compiler, the option `-DMSGPACK_NO_BOOST` is required to remove boost.
10 lines
261 B
Bash
Executable File
10 lines
261 B
Bash
Executable File
#!/bin/bash
|
|
|
|
find include -name "*.hpp" -or -name "*.h" | 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
|