Отдельный каталог для каждого варианта сборки
This commit is contained in:
parent
dc15c6ea8b
commit
e15e1fb505
6
cmake.sh
6
cmake.sh
@ -153,7 +153,11 @@ generate_configuration() {
|
||||
fi
|
||||
|
||||
GEN_DIR="${BUILD_DIR}"
|
||||
[ "x${SINGLE_TYPE}" == "xn" ] && GEN_DIR="${BUILD_DIR}/${BUILD}"
|
||||
if [ "x${SINGLE_TYPE}" == "xn" ]; then
|
||||
GEN_DIR="${BUILD_DIR}/${BUILD}"
|
||||
else
|
||||
GEN_DIR="${BUILD_DIR}/${SINGLE_TYPE}"
|
||||
fi
|
||||
[ -d "${GEN_DIR}" ] && return 0
|
||||
mkdir -p "${GEN_DIR}"
|
||||
pushd "${GEN_DIR}" 2>/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user