From 9a1579392608716ce3d7b0330e699b67a0baaace Mon Sep 17 00:00:00 2001 From: Nathan Date: Mon, 17 Mar 2025 10:21:31 -0500 Subject: [PATCH] include glfw and glew in pch? --- include/Archimedes.h | 6 +++--- modules/Window/src/WindowImpl/GLFW/windowGLFW.h | 4 ---- src/pch.hpp | 4 ++++ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/Archimedes.h b/include/Archimedes.h index 13cef84..939b783 100644 --- a/include/Archimedes.h +++ b/include/Archimedes.h @@ -1,8 +1,8 @@ #ifndef ARCHIMEDES_H #define ARCHIMEDES_H -#include "../src/Module.h" -#include "../src/GuiModule.h" -#include "../src/App.h" +#include "Module.h" +#include "GuiModule.h" +#include "App.h" #endif diff --git a/modules/Window/src/WindowImpl/GLFW/windowGLFW.h b/modules/Window/src/WindowImpl/GLFW/windowGLFW.h index ef60d5c..cbd4885 100644 --- a/modules/Window/src/WindowImpl/GLFW/windowGLFW.h +++ b/modules/Window/src/WindowImpl/GLFW/windowGLFW.h @@ -1,9 +1,5 @@ #include "Archimedes.h" -#define GLEW_STATIC -#include -#include - class Window { public: diff --git a/src/pch.hpp b/src/pch.hpp index b60cc0f..0232c88 100644 --- a/src/pch.hpp +++ b/src/pch.hpp @@ -5,6 +5,10 @@ #include #include + +#define GLEW_STATIC +#include +#include //#include //#include