Add linux-x64 compile target

This commit is contained in:
YourWishes committed 2024-06-24 09:26:03 -05:00
1 parent 04be82f034
commit 4b77d1b613
8 files changed
+85 -17

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
FROM debian:latest
RUN apt update && apt upgrade -y && apt install -y git cmake build-essential libx11-dev libgtk-3-dev python3 python3-pip
RUN ln -s /usr/bin/python3 /usr/bin/python
+18
View File
@@ -0,0 +1,18 @@
services:
dawn-linux64:
build: .
volumes:
- ./../../:/Dawn
working_dir: /Dawn
command:
- /bin/sh
- -c
- |
ln -s /usr/bin/python3 /usr/bin/python
if [ ! -d ./lib/glfw ]; then
git submodule update --init
fi
mkdir -p ./build/linux-x64
cd ./build/linux-x64
cmake ../.. -DDAWN_BUILD_SYSTEM=linux -DGLFW_BUILD_X11=ON -DGLFW_BUILD_WAYLAND=OFF
make