From 00c7d00d98273bdb96875a0d3348558ef4ac8bcc Mon Sep 17 00:00:00 2001 From: Albin Johansson Date: Sat, 6 Jul 2024 12:37:42 +0200 Subject: [PATCH] Move engine app interface to base target --- source/base/CMakeLists.txt | 1 + .../core => base/inc/tactile/base}/engine/engine_app.hpp | 0 source/core/CMakeLists.txt | 1 - source/core/inc/tactile/core/tactile_editor.hpp | 2 +- source/core/src/tactile/core/engine/engine.cpp | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename source/{core/inc/tactile/core => base/inc/tactile/base}/engine/engine_app.hpp (100%) diff --git a/source/base/CMakeLists.txt b/source/base/CMakeLists.txt index 0b0b4fe235..9de02d8dd6 100644 --- a/source/base/CMakeLists.txt +++ b/source/base/CMakeLists.txt @@ -23,6 +23,7 @@ target_sources(tactile-base "${PROJECT_SOURCE_DIR}/inc/tactile/base/container/tree_map.hpp" "${PROJECT_SOURCE_DIR}/inc/tactile/base/container/variant.hpp" "${PROJECT_SOURCE_DIR}/inc/tactile/base/container/vector.hpp" + "${PROJECT_SOURCE_DIR}/inc/tactile/base/engine/engine_app.hpp" "${PROJECT_SOURCE_DIR}/inc/tactile/base/io/compress/compression_provider.hpp" "${PROJECT_SOURCE_DIR}/inc/tactile/base/io/compress/compression_type.hpp" "${PROJECT_SOURCE_DIR}/inc/tactile/base/io/byte_stream.hpp" diff --git a/source/core/inc/tactile/core/engine/engine_app.hpp b/source/base/inc/tactile/base/engine/engine_app.hpp similarity index 100% rename from source/core/inc/tactile/core/engine/engine_app.hpp rename to source/base/inc/tactile/base/engine/engine_app.hpp diff --git a/source/core/CMakeLists.txt b/source/core/CMakeLists.txt index df2c828ad9..8d5ad4e3f9 100644 --- a/source/core/CMakeLists.txt +++ b/source/core/CMakeLists.txt @@ -37,7 +37,6 @@ target_sources(tactile-core "${PROJECT_SOURCE_DIR}/src/tactile/core/document/map_document.cpp" "${PROJECT_SOURCE_DIR}/inc/tactile/core/engine/engine.hpp" "${PROJECT_SOURCE_DIR}/src/tactile/core/engine/engine.cpp" - "${PROJECT_SOURCE_DIR}/inc/tactile/core/engine/engine_app.hpp" "${PROJECT_SOURCE_DIR}/inc/tactile/core/entity/entity.hpp" "${PROJECT_SOURCE_DIR}/src/tactile/core/entity/entity.cpp" "${PROJECT_SOURCE_DIR}/inc/tactile/core/entity/registry.hpp" diff --git a/source/core/inc/tactile/core/tactile_editor.hpp b/source/core/inc/tactile/core/tactile_editor.hpp index 80aaa61fca..1cf7bf96e9 100644 --- a/source/core/inc/tactile/core/tactile_editor.hpp +++ b/source/core/inc/tactile/core/tactile_editor.hpp @@ -4,7 +4,7 @@ #include "tactile/base/container/maybe.hpp" #include "tactile/base/prelude.hpp" -#include "tactile/core/engine/engine_app.hpp" +#include "tactile/base/engine/engine_app.hpp" #include "tactile/core/event/component_event_handler.hpp" #include "tactile/core/event/edit_event_handler.hpp" #include "tactile/core/event/event_dispatcher.hpp" diff --git a/source/core/src/tactile/core/engine/engine.cpp b/source/core/src/tactile/core/engine/engine.cpp index 022721b5b0..cc34002108 100644 --- a/source/core/src/tactile/core/engine/engine.cpp +++ b/source/core/src/tactile/core/engine/engine.cpp @@ -8,7 +8,7 @@ #include "tactile/base/render/renderer.hpp" #include "tactile/core/debug/validation.hpp" -#include "tactile/core/engine/engine_app.hpp" +#include "tactile/base/engine/engine_app.hpp" #include "tactile/core/log/logger.hpp" namespace tactile {