diff --git a/CMakeLists.txt b/CMakeLists.txt index 4702719..10375fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,12 +42,10 @@ ELSE () ADD_COMPILE_OPTIONS(-Wall -Wextra -Werror -Wpedantic) ENDIF () -INCLUDE_DIRECTORIES( - engine/src/core -) +INCLUDE_DIRECTORIES(engine/) SET(EngineSources - engine/src/core/ICEngine.cpp + engine/src/core/test.cpp ) IF (BUILD_ENGINE_AS_SHARED_LIBRARY) diff --git a/README.md b/README.md index 9f8db4c..0a5c4d0 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,6 @@ Smol little game engine since I have no idea what I'm doing -# Notice: - -Since this uses the newer cpp modules, you need to make sure your compiler + build system + IDE supports this. You can -find more -info [on this stack overflow post](https://stackoverflow.com/questions/57300495/how-to-use-c20-modules-with-cmake). - ## Building Find more info about building the project in the `docs/Building.md` file. @@ -24,7 +18,7 @@ include(FetchContent) # Fetch the external repository FetchContent_Declare( ICEngine - GIT_REPOSITORY http://proudcricle:3001/illyum/ICEngine.git + GIT_REPOSITORY http://proudcricle/illyum/ICEngine.git GIT_TAG main ) diff --git a/engine/ICEngine.hpp b/engine/ICEngine.hpp new file mode 100644 index 0000000..041f5a9 --- /dev/null +++ b/engine/ICEngine.hpp @@ -0,0 +1,10 @@ +// +// Created by illyum on 9/15/2024. +// + +#ifndef ICENGINE_HPP +#define ICENGINE_HPP + +#include "src/core/Logger.hpp" + +#endif //ICENGINE_HPP diff --git a/engine/src/core/ICEngine.cpp b/engine/src/core/test.cpp similarity index 100% rename from engine/src/core/ICEngine.cpp rename to engine/src/core/test.cpp