1 2 3 4 5 6 7 8 9 10 11 12
set(sampleplugin_SOURCES sampleplugin.hpp sampleplugin.cpp ) include_directories(${PROJECT_SOURCE_DIR}/include/) add_library(sampleplugin MODULE ${sampleplugin_SOURCES} ) install(TARGETS sampleplugin LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/)