mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
update assimp to 6.0.5
This commit is contained in:
parent
2d2eb57e2e
commit
f5cf21cfeb
941 changed files with 22718 additions and 12240 deletions
|
|
@ -1,22 +1,17 @@
|
|||
FROM ubuntu:22.04
|
||||
FROM gcc:1.5.1.0
|
||||
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y ninja-build \
|
||||
git cmake build-essential software-properties-common
|
||||
RUN apt-get update \
|
||||
apt-get install --no-install-recommends -y ninja-build cmake zlib1g-dev
|
||||
|
||||
RUN add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update
|
||||
WORKDIR /app
|
||||
|
||||
WORKDIR /opt
|
||||
RUN apt install zlib1g-dev
|
||||
COPY . .
|
||||
|
||||
# Build Assimp
|
||||
RUN git clone https://github.com/assimp/assimp.git /opt/assimp
|
||||
|
||||
WORKDIR /opt/assimp
|
||||
|
||||
RUN git checkout master \
|
||||
&& mkdir build && cd build && \
|
||||
RUN mkdir build && cd build && \
|
||||
cmake -G 'Ninja' \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DASSIMP_BUILD_ASSIMP_TOOLS=ON \
|
||||
.. && \
|
||||
ninja -j4 && ninja install
|
||||
|
||||
CMD ["/app/build/bin/unit"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue