diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 15:20:25 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 15:20:25 +0100 |
commit | 6296b85846b21083e4f545b209f1d9edce2b06f9 (patch) | |
tree | ae83cf160d44541850f970cc933530474d3cb651 /src/crepe | |
parent | 5af0b90f11929ca99a48389ef29d8a56f39b0efd (diff) |
Moved Matadata to api folder (because it may be used by the game programmer)
Diffstat (limited to 'src/crepe')
-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 |
4 files changed, 3 insertions, 3 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 { |