11 lines
272 B
Bash
Executable File
11 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
SRC_ROOT=$DIR/../..
|
|
BUILD_ROOT=`readlink -f $SRC_ROOT/build`
|
|
BUILD_TYPE="${1:-clang_debug}"
|
|
BUILD_CMD="ninja -C $BUILD_ROOT/$BUILD_TYPE"
|
|
touch $SRC_ROOT/CMakeLists.txt
|
|
$DIR/execute_in_docker $BUILD_CMD
|
|
|