diff --git a/engine/CMakeLists.txt b/engine/CMakeLists.txt index 9d717d2..4c43a39 100755 --- a/engine/CMakeLists.txt +++ b/engine/CMakeLists.txt @@ -8,6 +8,7 @@ add_subdirectory(math) add_subdirectory(log) add_subdirectory(asset) add_subdirectory(shadercompiler) +add_subdirectory(platform) if(NOT ENABLE_IOS AND NOT ENABLE_TVOS) add_subdirectory(audio) diff --git a/engine/core/CMakeLists.txt b/engine/core/CMakeLists.txt index 6f19fa7..8e947c2 100755 --- a/engine/core/CMakeLists.txt +++ b/engine/core/CMakeLists.txt @@ -11,8 +11,6 @@ set(SRC include/object.hpp include/debug.hpp include/components.hpp - include/platform.hpp - include/file.hpp include/imgui_utility.hpp include/console.hpp @@ -46,6 +44,7 @@ target_link_libraries(Core PUBLIC Renderer magic_enum imgui + Platform ${EXTRA_LIBRARIES} BulletDynamics BulletCollision diff --git a/engine/core/include/file.hpp b/engine/platform/include/file.hpp similarity index 100% rename from engine/core/include/file.hpp rename to engine/platform/include/file.hpp diff --git a/engine/core/include/platform.hpp b/engine/platform/include/platform.hpp similarity index 100% rename from engine/core/include/platform.hpp rename to engine/platform/include/platform.hpp