prepare to build

This commit is contained in:
2025-03-21 16:28:13 -05:00
parent 6b8861a7fb
commit bfcfa09788
3 changed files with 15 additions and 1 deletions

View File

@@ -169,9 +169,19 @@
gcc
];
buildInputs = with pkgs; [
glfw
];
buildPhase = ''
g++ \
modules/TestImgui/src/*.cpp src/App.cpp \
$imgui/backends/imgui_impl_glfw.cpp \
$imgui/backends/imgui_impl_opengl.cpp \
utils/Renderer/*.cpp utils/Renderer/RendererOpenGL/*.cpp \
utils/Window/*.cpp utils/Window/WindowGLFW/*.cpp \
-DRENDERER_OPENGL \
-DWINDOW_GLFW \
-fpic -shared \
-I src -I include \
-Wall \