diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/crepe/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/crepe/api/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/crepe/api/Metadata.cpp (renamed from src/crepe/Metadata.cpp) | 0 | ||||
-rw-r--r-- | src/crepe/api/Metadata.h (renamed from src/crepe/Metadata.h) | 2 | ||||
-rw-r--r-- | src/example/ecs.cpp | 2 | ||||
-rw-r--r-- | src/makefile | 4 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/crepe/CMakeLists.txt b/src/crepe/CMakeLists.txt index 867329f..8830e05 100644 --- a/src/crepe/CMakeLists.txt +++ b/src/crepe/CMakeLists.txt @@ -4,7 +4,6 @@ target_sources(crepe PUBLIC ComponentManager.cpp Component.cpp Collider.cpp - Metadata.cpp ) target_sources(crepe PUBLIC FILE_SET HEADERS FILES @@ -13,7 +12,6 @@ target_sources(crepe PUBLIC FILE_SET HEADERS FILES ComponentManager.hpp Component.h Collider.h - Metadata.h ) add_subdirectory(api) diff --git a/src/crepe/api/CMakeLists.txt b/src/crepe/api/CMakeLists.txt index 0bb1263..3e0c044 100644 --- a/src/crepe/api/CMakeLists.txt +++ b/src/crepe/api/CMakeLists.txt @@ -11,6 +11,7 @@ target_sources(crepe PUBLIC Texture.cpp AssetManager.cpp Sprite.cpp + Metadata.cpp ) target_sources(crepe PUBLIC FILE_SET HEADERS FILES @@ -28,4 +29,5 @@ target_sources(crepe PUBLIC FILE_SET HEADERS FILES Texture.h AssetManager.h AssetManager.hpp + Metadata.h ) diff --git a/src/crepe/Metadata.cpp b/src/crepe/api/Metadata.cpp index 53d93da..53d93da 100644 --- a/src/crepe/Metadata.cpp +++ b/src/crepe/api/Metadata.cpp diff --git a/src/crepe/Metadata.h b/src/crepe/api/Metadata.h index d52ab67..4d37108 100644 --- a/src/crepe/Metadata.h +++ b/src/crepe/api/Metadata.h @@ -3,7 +3,7 @@ #include <string> #include <vector> -#include "Component.h" +#include "../Component.h" namespace crepe { diff --git a/src/example/ecs.cpp b/src/example/ecs.cpp index 6f9752e..a8df7e7 100644 --- a/src/example/ecs.cpp +++ b/src/example/ecs.cpp @@ -1,8 +1,8 @@ #include <iostream> #include "../crepe/ComponentManager.h" -#include "../crepe/Metadata.h" #include "../crepe/api/GameObject.h" +#include "../crepe/api/Metadata.h" #include "../crepe/api/Transform.h" using namespace crepe; diff --git a/src/makefile b/src/makefile index 9b2d826..be1548c 100644 --- a/src/makefile +++ b/src/makefile @@ -24,8 +24,8 @@ MAX += crepe/Component.h MAX += crepe/ComponentManager.cpp MAX += crepe/ComponentManager.h MAX += crepe/ComponentManager.hpp -MAX += crepe/Metadata.cpp -MAX += crepe/Metadata.h +MAX += crepe/api/Metadata.cpp +MAX += crepe/api/Metadata.h TODO += crepe/Particle.cpp TODO += crepe/Particle.h TODO += crepe/Position.h |