Comment on removing xxd.
XXD-> string literals
This commit is contained in:
parent
fccec2a813
commit
df5cc0b27c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ cd $PUBLIC
|
||||||
for FILE in $FILES; do
|
for FILE in $FILES; do
|
||||||
echo "generate $FILE.hpp"
|
echo "generate $FILE.hpp"
|
||||||
|
|
||||||
# use simple flag for old version of xxd
|
# Use C++11 string literals instead of ugly xxd.
|
||||||
f=$(echo $FILE | sed 's/\./_/g' -e 's/-/_/g')
|
f=$(echo $FILE | sed 's/\./_/g' -e 's/-/_/g')
|
||||||
echo "const char $f[] = R\"LITERAL(" > $DIR/$FILE.hpp
|
echo "const char $f[] = R\"LITERAL(" > $DIR/$FILE.hpp
|
||||||
cat $FILE >> $DIR/$FILE.hpp
|
cat $FILE >> $DIR/$FILE.hpp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue