build.sh 247 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/bash

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

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

cd build && cmake .. -DBUILD_TOOLS=true && make