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