diff options
Diffstat (limited to 'midifmt-plugin')
-rw-r--r-- | midifmt-plugin/CMakeLists.txt | 4 | ||||
-rw-r--r-- | midifmt-plugin/midifmt-plugin.rc | 16 | ||||
-rw-r--r-- | midifmt-plugin/midifmtplugin.cpp | 2 |
3 files changed, 21 insertions, 1 deletions
diff --git a/midifmt-plugin/CMakeLists.txt b/midifmt-plugin/CMakeLists.txt index 02cd4cc..d90ffe8 100644 --- a/midifmt-plugin/CMakeLists.txt +++ b/midifmt-plugin/CMakeLists.txt @@ -3,6 +3,10 @@ set(midifmt-plugin_SOURCES midifmtplugin.cpp ) +if(WIN32) + list(APPEND midifmt-plugin_SOURCES midifmt-plugin.rc) +endif(WIN32) + include_directories(${PROJECT_SOURCE_DIR}/include/) add_library(midifmt-plugin MODULE diff --git a/midifmt-plugin/midifmt-plugin.rc b/midifmt-plugin/midifmt-plugin.rc new file mode 100644 index 0000000..3489340 --- /dev/null +++ b/midifmt-plugin/midifmt-plugin.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 extra MIDI format support plugin" + VALUE "FileVersion", APP_VERSION + VALUE "ProductName", "QMidiPlayer extra MIDI format support plugin" + VALUE "ProductVersion", APP_VERSION + END + END +END diff --git a/midifmt-plugin/midifmtplugin.cpp b/midifmt-plugin/midifmtplugin.cpp index fccb7cc..62a9af1 100644 --- a/midifmt-plugin/midifmtplugin.cpp +++ b/midifmt-plugin/midifmtplugin.cpp @@ -113,4 +113,4 @@ void qmpMidiFmtPlugin::deinit() const char* qmpMidiFmtPlugin::pluginGetName() {return "QMidiPlayer extra midi formats plugin";} const char* qmpMidiFmtPlugin::pluginGetVersion() -{return "0.8.7";} +{return PLUGIN_VERSION;} |