From: Sage Weil Date: Wed, 22 Jun 2016 15:59:48 +0000 (-0400) Subject: do_cmake.sh: simple cmake helper X-Git-Tag: v11.0.0~66^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ef5a6778709db652094373f107b539b71dd48af8;p=ceph-ci.git do_cmake.sh: simple cmake helper Signed-off-by: Sage Weil --- diff --git a/do_cmake.sh b/do_cmake.sh new file mode 100755 index 00000000000..5f9e73ac938 --- /dev/null +++ b/do_cmake.sh @@ -0,0 +1,9 @@ +#!/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 $@ ..