10 lines
121 B
Bash
10 lines
121 B
Bash
|
#!/bin/sh
|
||
|
mkdir -p build && \
|
||
|
cd build/ &&
|
||
|
cmake .. && \
|
||
|
make
|
||
|
|
||
|
if [ "$(basename ${PWD})" == "build" ]; then
|
||
|
cd ..
|
||
|
fi
|