build.sh 251 字节
Newer Older
1 2 3 4 5
#!/bin/bash

git submodule update --init --recursive > /dev/null || echo -e "failed to update git submodule"

if [ ! -d debug ]; then
6
    mkdir debug || echo -e "failed to make directory for build"
7 8
fi

9
cd debug && cmake .. -DBUILD_TOOLS=true && make
10