c-resources/CPlusPlus20ForProgrammers-m.../examples/libraries/cereal-1.3.0/scripts/add_rapidjson_prefix.sh

5 lines
386 B
Bash
Raw Normal View History

2024-04-09 06:45:18 +00:00
# Applies renaming within all of the rapidjson source files to add a cereal prefix
find ./../include/cereal/external/rapidjson/ -type f -name \*.h -exec sed -i "s/RAPIDJSON_/CEREAL_RAPIDJSON_/g" {} \;
echo "Remember to backport any cereal specific changes not in this version of RapidJSON!"
echo "See https://github.com/USCiLab/cereal/commits/develop/include/cereal/external/rapidjson"