mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
do_cmake.sh: simple cmake helper
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
c83374ff71
commit
ef5a677870
9
do_cmake.sh
Executable file
9
do_cmake.sh
Executable file
@ -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 $@ ..
|
||||
Loading…
Reference in New Issue
Block a user