aboutsummaryrefslogtreecommitdiff
path: root/simple-visualization/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2020-02-15 09:45:38 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2020-02-15 09:45:38 +0800
commit03d0aa4f39f72d27fed75020d2a3e80413ae029a (patch)
tree4da998bf1df1a2c1463858d13e372d6fb0bbbff4 /simple-visualization/CMakeLists.txt
parentbaa48d526c96a55c7c8caeb8fc5e379ef8afed10 (diff)
downloadQMidiPlayer-03d0aa4f39f72d27fed75020d2a3e80413ae029a.tar.xz
No more version numbers scattered through the files.
Added a debug screen for the visualization, which can be toggled by pressing B. Added version information for binaries for Windows.
Diffstat (limited to 'simple-visualization/CMakeLists.txt')
-rw-r--r--simple-visualization/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/simple-visualization/CMakeLists.txt b/simple-visualization/CMakeLists.txt
index 758d671..689dd99 100644
--- a/simple-visualization/CMakeLists.txt
+++ b/simple-visualization/CMakeLists.txt
@@ -7,6 +7,10 @@ set(simple-visualization_SOURCES
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)