ceph/do_cmake.sh
Sage Weil ef5a677870 do_cmake.sh: simple cmake helper
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-22 16:42:37 -04:00

10 lines
184 B
Bash
Executable File

#!/bin/sh -x
git submodule update --init --recursive
if test -e build; then
echo 'build dir already exists; rm -rf build and re-run'
exit 1
fi
mkdir build
cd build
cmake $@ ..