toyspp

toyspp.git
git clone git://git.lenczewski.org/toyspp.git
Log | Files | Refs | Submodules | README | LICENSE

build_linux.sh (205B)


      1 #!/bin/sh
      2 
      3 CC="clang++"
      4 WARNINGS="-Wall -Wextra -Wpedantic ${WERROR:+-Werror} -Wno-format-pedantic"
      5 FLAGS="-std=c++20 -Og -g -fuse-ld=lld"
      6 
      7 set -ex
      8 
      9 mkdir -p bin
     10 
     11 $CC -o bin/test test.cpp $WARNINGS $FLAGS