This commit is contained in:
2025-04-10 13:57:32 -05:00
parent 23037d065d
commit 3e731bab46

View File

@@ -115,11 +115,26 @@
clang clang
]; ];
buildInputs = with pkgs; [
glfw
glew
];
buildPhase = '' buildPhase = ''
clang++ \ clang++ \
modules/MainGUI/src/*.cpp \ modules/MainGUI/src/*.cpp \
modules/ImguiModule/src/*.cpp \
modules/WindowModule/src/*.cpp \
$imgui/backends/imgui_impl_glfw.cpp \
$imgui/backends/imgui_impl_opengl3.cpp \
$imgui/*.cpp \
-DRENDERER_OPENGL \
-DWINDOW_GLFW \
-DGUIMODULE \
-DIMGUIMODULE_DYNAMIC \
-fpic -shared \ -fpic -shared \
-I src -I include \ -I src -I include -I $imgui -I . \
-lGL -lglfw -lGLEW \
-Wall \ -Wall \
-o $name -o $name
''; '';