mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-12-16 12:08:49 +00:00
docker: Use Ninja for azahar-room Docker image build
This commit is contained in:
parent
e1a7c24ecd
commit
9099b9cfb7
@ -7,7 +7,8 @@ FROM opensauce04/azahar-build-environment:latest AS builder
|
|||||||
COPY . /var/azahar-src
|
COPY . /var/azahar-src
|
||||||
|
|
||||||
RUN mkdir builddir && cd builddir && \
|
RUN mkdir builddir && cd builddir && \
|
||||||
cmake /var/azahar-src -DENABLE_QT=OFF \
|
cmake /var/azahar-src -G Ninja \
|
||||||
|
-DENABLE_QT=OFF \
|
||||||
-DENABLE_TESTS=OFF \
|
-DENABLE_TESTS=OFF \
|
||||||
-DENABLE_ROOM=ON \
|
-DENABLE_ROOM=ON \
|
||||||
-DENABLE_ROOM_STANDALONE=ON \
|
-DENABLE_ROOM_STANDALONE=ON \
|
||||||
@ -17,7 +18,7 @@ RUN mkdir builddir && cd builddir && \
|
|||||||
-DENABLE_LIBUSB=OFF \
|
-DENABLE_LIBUSB=OFF \
|
||||||
-DENABLE_CUBEB=OFF \
|
-DENABLE_CUBEB=OFF \
|
||||||
-DENABLE_OPENAL=OFF && \
|
-DENABLE_OPENAL=OFF && \
|
||||||
cmake --build . -j$(nproc) && \
|
ninja && \
|
||||||
mv bin/Release/azahar-room /usr/local/bin/ && \
|
mv bin/Release/azahar-room /usr/local/bin/ && \
|
||||||
cd .. && rm -rf builddir
|
cd .. && rm -rf builddir
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user