#!/bin/sh -e if [ -f CMakeLists.txt ]; then mkdir -p build cd build fi if ! [ -f CMakeCache.txt ]; then cmake -DCMAKE_BUILD_TYPE=Release .. fi make -j$(nproc)