From 2716ffaf602fd9f39d9aca06a0853ed10cf90132 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sat, 21 Nov 2020 19:15:08 +0800 Subject: feat: windows extra plugin --- windows-extra/CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 windows-extra/CMakeLists.txt (limited to 'windows-extra/CMakeLists.txt') diff --git a/windows-extra/CMakeLists.txt b/windows-extra/CMakeLists.txt new file mode 100644 index 0000000..6754e46 --- /dev/null +++ b/windows-extra/CMakeLists.txt @@ -0,0 +1,16 @@ +set(windowsextra_SOURCES + windowsextra.hpp + windowsextra.cpp +) + +include_directories(${PROJECT_SOURCE_DIR}/include/) + +find_package(Qt5 REQUIRED COMPONENTS Widgets WinExtras) + +add_library(windowsextra MODULE + ${windowsextra_SOURCES} +) + +target_link_libraries(windowsextra Qt5::Widgets Qt5::WinExtras) + +install(TARGETS windowsextra LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/) -- cgit v1.2.3