Add an option to disable unittest build, & disable them on Docker build (#9677)

This commit is contained in:
Loïc Blot
2020-04-16 20:43:49 +02:00
committed by GitHub
parent 093e79ea78
commit 7539267d37
6 changed files with 19 additions and 2 deletions

View File

@@ -30,6 +30,7 @@ RUN apk add --no-cache git build-base irrlicht-dev cmake bzip2-dev libpng-dev \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SERVER=TRUE \
-DBUILD_UNITTESTS=FALSE \
-DBUILD_CLIENT=FALSE && \
make -j2 && \
make install