@@ -169,6 +169,9 @@ if(ENTT_BUILD_LIB)
SETUP_LIB_SHARED_TEST(registry shared)
SETUP_LIB_PLUGIN_TEST(registry plugin)
+
+ SETUP_LIB_SHARED_TEST(view shared)
+ SETUP_LIB_PLUGIN_TEST(view plugin)
endif()
# Test snapshot
@@ -0,0 +1,8 @@
+#define CR_HOST
+#include <gtest/gtest.h>
+#include <cr.h>
+TEST(Lib, View) {
+ // TODO
+}
@@ -0,0 +1,6 @@
+CR_EXPORT int cr_main(cr_plugin *ctx, cr_op operation) {
+ return 0;
@@ -0,0 +1,3 @@
+#include <entt/core/attribute.h>
+ENTT_API void do_nothing() {}
@@ -0,0 +1,9 @@
+ENTT_API void do_nothing();
+ do_nothing();