aboutsummaryrefslogtreecommitdiff
path: root/simple-visualization/CMakeLists.txt
blob: 689dd9928b1634bb7d6bdd6a12357fd9d028492c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set(simple-visualization_SOURCES
    qmpkeyboardwindow.hpp
    qmppianowidget.hpp
    simplevisualization.hpp
    qmpkeyboardwindow.cpp
    qmppianowidget.cpp
    simplevisualization.cpp
)

if(WIN32)
    list(APPEND simple-visualization_SOURCES simple-visualization.rc)
endif(WIN32)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)

include_directories(${PROJECT_SOURCE_DIR}/include/)

add_library(simple-visualization MODULE
    ${simple-visualization_SOURCES}
)

target_link_libraries(simple-visualization
    Qt5::Widgets
)

install(TARGETS simple-visualization LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/)