aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer-desktop/CMakeLists.txt')
-rw-r--r--qmidiplayer-desktop/CMakeLists.txt62
1 files changed, 62 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/CMakeLists.txt b/qmidiplayer-desktop/CMakeLists.txt
new file mode 100644
index 0000000..1f40a2e
--- /dev/null
+++ b/qmidiplayer-desktop/CMakeLists.txt
@@ -0,0 +1,62 @@
+set(qmpdesktop_SOURCES
+ qdialskulpturestyle.hpp
+ qmpchanneleditor.hpp
+ qmpchannelswindow.hpp
+ qmpcustomizewindow.hpp
+ qmpdevpropdialog.hpp
+ qmpefxwindow.hpp
+ qmphelpwindow.hpp
+ qmpinfowindow.hpp
+ qmpmainwindow.hpp
+ qmpplistwindow.hpp
+ qmpplugin.hpp
+ qmppresetselect.hpp
+ qmpsettingswindow.hpp
+ main.cpp
+ qdialskulpturestyle.cpp
+ qmpchanneleditor.cpp
+ qmpchannelswindow.cpp
+ qmpcustomizewindow.cpp
+ qmpdevpropdialog.cpp
+ qmpefxwindow.cpp
+ qmphelpwindow.cpp
+ qmpinfowindow.cpp
+ qmpmainwindow.cpp
+ qmpplistwindow.cpp
+ qmpplugin.cpp
+ qmppresetselect.cpp
+ qmpsettingswindow.cpp
+ qmpchanneleditor.ui
+ qmpchannelswindow.ui
+ qmpcustomizewindow.ui
+ qmpdevpropdialog.ui
+ qmpefxwindow.ui
+ qmphelpwindow.ui
+ qmpinfowindow.ui
+ qmpmainwindow.ui
+ qmpplistwindow.ui
+ qmppresetselect.ui
+ qmpsettingswindow.ui
+ resources.qrc
+)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+include_directories(${fluidsynth_INCLUDE_DIRS})
+include_directories(${rtmidi_INCLUDE_DIRS})
+include_directories(${PROJECT_SOURCE_DIR}/include/)
+
+add_executable(qmidiplayer
+ ${qmpdesktop_SOURCES}
+)
+
+target_link_libraries(qmidiplayer
+ Qt5::Widgets
+ qmpcore
+ ${fluidsynth_LIBRARIES}
+ ${rtmidi_LIBRARIES}
+ ${CMAKE_THREAD_LIBS_INIT}
+ ${CMAKE_DL_LIBS}
+)