diff options
Diffstat (limited to 'simple-visualization')
-rw-r--r-- | simple-visualization/CMakeLists.txt | 4 | ||||
-rw-r--r-- | simple-visualization/simple-visualization.rc | 16 | ||||
-rw-r--r-- | simple-visualization/simplevisualization.cpp | 2 |
3 files changed, 21 insertions, 1 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) diff --git a/simple-visualization/simple-visualization.rc b/simple-visualization/simple-visualization.rc new file mode 100644 index 0000000..92f11e6 --- /dev/null +++ b/simple-visualization/simple-visualization.rc @@ -0,0 +1,16 @@ +1 VERSIONINFO +FILEVERSION RC_VER_MAJOR,RC_VER_MINOR,RC_VER_PATCH,0 +PRODUCTVERSION RC_VER_MAJOR,RC_VER_MINOR,RC_VER_PATCH,0 +FILETYPE VFT_DLL +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4"" + BEGIN + VALUE "FileDescription", "QMidiPlayer simple visualization plugin" + VALUE "FileVersion", APP_VERSION + VALUE "ProductName", "QMidiPlayer simple visualization plugin" + VALUE "ProductVersion", APP_VERSION + END + END +END diff --git a/simple-visualization/simplevisualization.cpp b/simple-visualization/simplevisualization.cpp index c8191b6..b93af30 100644 --- a/simple-visualization/simplevisualization.cpp +++ b/simple-visualization/simplevisualization.cpp @@ -30,4 +30,4 @@ void qmpSimpleVisualization::deinit() const char* qmpSimpleVisualization::pluginGetName() {return "QMidiPlayer Simple Visualization Plugin";} const char* qmpSimpleVisualization::pluginGetVersion() -{return "0.8.7";} +{return PLUGIN_VERSION;} |