diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 96bbd274f..4cfc2f5da 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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 diff --git a/test/lib/view/plugin/main.cpp b/test/lib/view/plugin/main.cpp new file mode 100644 index 000000000..1c108814f --- /dev/null +++ b/test/lib/view/plugin/main.cpp @@ -0,0 +1,8 @@ +#define CR_HOST + +#include +#include + +TEST(Lib, View) { + // TODO +} diff --git a/test/lib/view/plugin/plugin.cpp b/test/lib/view/plugin/plugin.cpp new file mode 100644 index 000000000..b387a4350 --- /dev/null +++ b/test/lib/view/plugin/plugin.cpp @@ -0,0 +1,6 @@ +#include + +CR_EXPORT int cr_main(cr_plugin *ctx, cr_op operation) { + // TODO + return 0; +} diff --git a/test/lib/view/shared/lib.cpp b/test/lib/view/shared/lib.cpp new file mode 100644 index 000000000..b5592f784 --- /dev/null +++ b/test/lib/view/shared/lib.cpp @@ -0,0 +1,3 @@ +#include + +ENTT_API void do_nothing() {} diff --git a/test/lib/view/shared/main.cpp b/test/lib/view/shared/main.cpp new file mode 100644 index 000000000..7e75a7825 --- /dev/null +++ b/test/lib/view/shared/main.cpp @@ -0,0 +1,9 @@ +#include +#include + +ENTT_API void do_nothing(); + +TEST(Lib, View) { + do_nothing(); + // TODO +}