homework-jianmu/build.sh

9 lines
154 B
Bash
Executable File

#!/bin/bash
if [ ! -d debug ]; then
mkdir debug || echo -e "failed to make directory for build"
fi
cd debug && cmake .. -DBUILD_TOOLS=true && make