aboutsummaryrefslogtreecommitdiff
path: root/midifmt-plugin/CMakeLists.txt
blob: d90ffe8da4dc364da10ca89215b17fda82ac74f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set(midifmt-plugin_SOURCES
    midifmtplugin.hpp
    midifmtplugin.cpp
)

if(WIN32)
    list(APPEND midifmt-plugin_SOURCES midifmt-plugin.rc)
endif(WIN32)

include_directories(${PROJECT_SOURCE_DIR}/include/)

add_library(midifmt-plugin MODULE
    ${midifmt-plugin_SOURCES}
)

install(TARGETS midifmt-plugin LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/)