move utils to include. utils implimentations should be headers

This commit is contained in:
2025-03-26 13:07:18 -05:00
parent 12c82a8327
commit fd6a774c73
15 changed files with 110 additions and 131 deletions

View File

@@ -24,8 +24,6 @@
src = ./.;
#imgui = inputs.imgui;
nativeBuildInputs = with pkgs; [
gcc
];
@@ -38,8 +36,8 @@
buildPhase = ''
g++ \
src/*.cpp \
utils/Window/*.cpp utils/Window/WindowGLFW/*.cpp \
utils/Renderer/*.cpp utils/Renderer/RendererOpenGL/*.cpp \
utils/Window/*.cpp \
utils/Renderer/*.cpp \
-I src -I include -I utils \
-DRENDERER_OPENGL \
-DWINDOW_GLFW \
@@ -278,7 +276,7 @@
apps.${system}.default = {
type = "app";
program = "${self.Archimedes}/bin/Archimedes ${self.TestImgui}/bin/TestImgui";
program = "${pkgs.writeShellScriptBin "RunArchimedes" "${self.Archimedes}/bin/Archimedes ${self.TestImgui}/bin/TestImgui"}";
};
};