diff options
Diffstat (limited to 'plugins/webengine/CMakeLists.txt')
-rw-r--r-- | plugins/webengine/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/webengine/CMakeLists.txt b/plugins/webengine/CMakeLists.txt new file mode 100644 index 00000000..8a11bc76 --- /dev/null +++ b/plugins/webengine/CMakeLists.txt @@ -0,0 +1,12 @@ +add_library(WebEnginePlugin MODULE + webengineplugin.cpp webengineplugin.hpp + webview.cpp webview.h + ${PROJECT_SOURCE_DIR}/src/plugins/rplugininterface.hpp + ${PROJECT_SOURCE_DIR}/src/plugins/rview.hpp +) +target_include_directories(WebEnginePlugin PRIVATE ${PROJECT_SOURCE_DIR}/src/plugins) +target_link_libraries(WebEnginePlugin PUBLIC Qt6::Core Qt6::WebEngineWidgets) + +if(TESTING) + add_test(NAME "load_plugin WebEnginePlugin" COMMAND load_plugin $<TARGET_FILE:WebEnginePlugin>) +endif() |