File indexing completed on 2021-12-21 12:24:51

0001 #!/bin/bash
0002 
0003 BUILDDIR=build-profile
0004 
0005 if [ ! -d $BUILDDIR ]; then
0006         mkdir $BUILDDIR
0007 fi
0008 
0009 cd $BUILDDIR
0010 
0011 cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-O2 -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code -fno-omit-frame-pointer -fstack-protector -fno-exceptions -pg" -DCMAKE_CXX_FLAGS="-std=c++11 -O2 -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code -fno-omit-frame-pointer -fstack-protector -fno-exceptions -pg" -DCMAKE_INSTALL_PREFIX=/usr && make -j 4