aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-06 15:20:25 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-06 15:20:25 +0100
commit6296b85846b21083e4f545b209f1d9edce2b06f9 (patch)
treeae83cf160d44541850f970cc933530474d3cb651 /src/crepe
parent5af0b90f11929ca99a48389ef29d8a56f39b0efd (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.txt2
-rw-r--r--src/crepe/api/CMakeLists.txt2
-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 {