blob: c1f8145dc2f4d04944e7cf0bf5f37b52b50e5c15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
add_library(WebEnginePlugin MODULE
webengineplugin.cpp webengineplugin.hpp
webview.cpp webview.h
${PROJECT_SOURCE_DIR}/src/plugins/rplugininterface.hpp
${PROJECT_SOURCE_DIR}/include/rview.hpp
)
target_include_directories(WebEnginePlugin PRIVATE ${PROJECT_SOURCE_DIR}/src/plugins)
target_link_libraries(WebEnginePlugin PUBLIC Qt6::Core Qt6::WebEngineWidgets)
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
add_test(NAME "load_plugin WebEnginePlugin" COMMAND load_plugin $<TARGET_FILE:WebEnginePlugin>)
endif()
|