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