summaryrefslogtreecommitdiff
path: root/src/plugins/CMakeLists.txt
blob: a978542f686a9492ae513fbe9c1f99e829fbf9bd (plain)
1
2
3
4
5
6
7
add_library(pluginloader STATIC pluginloader.cpp pluginloader.h)
target_link_libraries(pluginloader PUBLIC Qt6::Core Qt6::Widgets)

if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
    add_executable(load_plugin test/pluginloader.cpp)
    target_link_libraries(load_plugin GTest::gtest GTest::gtest_main pluginloader)
endif()