mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-04-17 15:14:49 +02:00

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
|