mirror of
https://github.com/BlackMATov/ecs.hpp.git
synced 2025-12-12 18:16:14 +07:00
12 lines
312 B
Bash
Executable File
12 lines
312 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE}" )" && pwd )"
|
|
|
|
ROOT_DIR="${DIR}/.."
|
|
BUILD_DIR="${ROOT_DIR}/build/darwin_release"
|
|
|
|
mkdir -p "${BUILD_DIR}"
|
|
(cd "${BUILD_DIR}" && cmake "${ROOT_DIR}" -DCMAKE_BUILD_TYPE=Release)
|
|
(cd "${BUILD_DIR}" && cmake --build .)
|
|
(cd "${BUILD_DIR}" && ctest --verbose)
|