4coder/string/build.sh

12 lines
296 B
Bash
Raw Normal View History

#!/bin/bash
WARNINGS="-Wno-write-strings -Wno-comment -Wno-logical-op-parentheses -Wno-null-dereference -Wno-switch"
FLAGS="-D_GNU_SOURCE -fPIC -fpermissive"
2017-07-09 04:28:33 +00:00
g++ $WARNINGS $FLAGS ../code/string/4ed_string_builder.cpp -g -o ../build/string_builder
pushd string
../../build/string_builder
popd