Switch from qmake to cmake
This commit is contained in:
parent
5a0bce88d0
commit
a46668394d
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue