Switch from qmake to cmake

This commit is contained in:
paul 2020-12-26 15:22:15 +01:00
parent 5a0bce88d0
commit a46668394d

View file

@ -4,9 +4,9 @@ FROM debian:buster AS builder
RUN apt-get update -yqq && apt-get install -yqq \
ca-certificates \
build-essential \
cmake \
pkg-config \
qt5-default \
libqt5svg5* \
libboost-dev \
libasound2-dev \
libssl-dev \
@ -33,9 +33,10 @@ RUN \
&& git submodule init \
&& git submodule update
WORKDIR /usr/src/murmur/build
RUN \
qmake -recursive main.pro CONFIG+="no-client no-g15 no-bonjour grpc" \
&& make release
cmake -Dclient=OFF -DCMAKE_BUILD_TYPE=Release -Dgrpc=ON .. \
&& make -j $(nproc)
FROM debian:buster