mirror of
https://github.com/Maschell/libgui-sdl.git
synced 2024-06-08 02:08:50 +02:00
Add dockerfile for pc, add install command
This commit is contained in:
parent
eb5528e0cf
commit
382e1009f2
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,3 +7,4 @@ libgui.layout
|
||||||
obj/
|
obj/
|
||||||
cmake-build-debug/
|
cmake-build-debug/
|
||||||
.idea/
|
.idea/
|
||||||
|
cmake-build/
|
||||||
|
|
|
@ -39,3 +39,6 @@ add_library(${PROJECT_NAME}
|
||||||
source/gui/system/SDLSystem.cpp
|
source/gui/system/SDLSystem.cpp
|
||||||
source/gui/video/SDL_FontCache.cpp
|
source/gui/video/SDL_FontCache.cpp
|
||||||
include/gui-sdl/gui/GuiFont.h source/gui/GuiFont.cpp)
|
include/gui-sdl/gui/GuiFont.h source/gui/GuiFont.cpp)
|
||||||
|
|
||||||
|
install(TARGETS gui-sdl RUNTIME DESTINATION libs)
|
||||||
|
install(DIRECTORY include/ DESTINATION include)
|
10
Dockerfile.pc
Normal file
10
Dockerfile.pc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
FROM debian:sid-slim
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils ca-certificates && \
|
||||||
|
apt-get install -y --no-install-recommends build-essential make git && \
|
||||||
|
apt-get install -y --no-install-recommends cmake && \
|
||||||
|
apt-get install -y --no-install-recommends libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-dev && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
RUN mkdir -p /project/cmake-build
|
||||||
|
WORKDIR /project/cmake-build
|
Loading…
Reference in New Issue
Block a user