Michele Caini 8 лет назад
Родитель
Сommit
d1f2e8ecf9
2 измененных файлов с 29 добавлено и 1 удалено
  1. 6 0
      src/entt/entt.hpp
  2. 23 1
      test/CMakeLists.txt

+ 6 - 0
src/entt/entt.hpp

@@ -1,10 +1,16 @@
 #include "core/family.hpp"
 #include "core/family.hpp"
+#include "core/hashed_string.hpp"
 #include "core/ident.hpp"
 #include "core/ident.hpp"
 #include "entity/registry.hpp"
 #include "entity/registry.hpp"
 #include "entity/sparse_set.hpp"
 #include "entity/sparse_set.hpp"
 #include "entity/traits.hpp"
 #include "entity/traits.hpp"
 #include "entity/view.hpp"
 #include "entity/view.hpp"
 #include "locator/locator.hpp"
 #include "locator/locator.hpp"
+#include "process/process.hpp"
+#include "process/scheduler.hpp"
+#include "resource/cache.hpp"
+#include "resource/handle.hpp"
+#include "resource/loader.hpp"
 #include "signal/bus.hpp"
 #include "signal/bus.hpp"
 #include "signal/delegate.hpp"
 #include "signal/delegate.hpp"
 #include "signal/emitter.hpp"
 #include "signal/emitter.hpp"

+ 23 - 1
test/CMakeLists.txt

@@ -24,6 +24,7 @@ add_executable(
     core
     core
     $<TARGET_OBJECTS:odr>
     $<TARGET_OBJECTS:odr>
     entt/core/family.cpp
     entt/core/family.cpp
+    entt/core/hashed_string.cpp
     entt/core/ident.cpp
     entt/core/ident.cpp
 )
 )
 target_link_libraries(core PRIVATE gtest_main Threads::Threads)
 target_link_libraries(core PRIVATE gtest_main Threads::Threads)
@@ -51,7 +52,28 @@ add_executable(
 target_link_libraries(locator PRIVATE gtest_main Threads::Threads)
 target_link_libraries(locator PRIVATE gtest_main Threads::Threads)
 add_test(NAME locator COMMAND locator)
 add_test(NAME locator COMMAND locator)
 
 
-# Test locator
+# Test process
+
+add_executable(
+    process
+    $<TARGET_OBJECTS:odr>
+    entt/process/process.cpp
+    entt/process/scheduler.cpp
+)
+target_link_libraries(process PRIVATE gtest_main Threads::Threads)
+add_test(NAME process COMMAND process)
+
+# Test resource
+
+add_executable(
+    resource
+    $<TARGET_OBJECTS:odr>
+    entt/resource/resource.cpp
+)
+target_link_libraries(resource PRIVATE gtest_main Threads::Threads)
+add_test(NAME resource COMMAND resource)
+
+# Test signal
 
 
 add_executable(
 add_executable(
     signal
     signal