mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Tie builtin plugin version to the project version
This commit is contained in:
committed by
Dennis Klein
parent
957233cf95
commit
94297f9833
@@ -10,6 +10,7 @@
|
|||||||
#define FAIR_MQ_PLUGINS_CONTROL
|
#define FAIR_MQ_PLUGINS_CONTROL
|
||||||
|
|
||||||
#include <fairmq/Plugin.h>
|
#include <fairmq/Plugin.h>
|
||||||
|
#include <fairmq/Version.h>
|
||||||
|
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
@@ -57,13 +58,16 @@ class Control : public Plugin
|
|||||||
auto ControlPluginProgramOptions() -> Plugin::ProgOptions;
|
auto ControlPluginProgramOptions() -> Plugin::ProgOptions;
|
||||||
|
|
||||||
REGISTER_FAIRMQ_PLUGIN(
|
REGISTER_FAIRMQ_PLUGIN(
|
||||||
Control, // Class name
|
Control, // Class name
|
||||||
control, // Plugin name (string, lower case chars only)
|
control, // Plugin name (string, lower case chars only)
|
||||||
(Plugin::Version{1,0,1}), // Version
|
(Plugin::Version{FAIRMQ_VERSION_MAJOR,
|
||||||
"FairRootGroup <fairroot@gsi.de>", // Maintainer
|
FAIRMQ_VERSION_MINOR,
|
||||||
"https://github.com/FairRootGroup/FairRoot", // Homepage
|
FAIRMQ_VERSION_PATCH}), // Version
|
||||||
ControlPluginProgramOptions // Free function which declares custom program options for the plugin
|
"FairRootGroup <fairroot@gsi.de>", // Maintainer
|
||||||
// signature: () -> boost::optional<boost::program_options::options_description>
|
"https://github.com/FairRootGroup/FairRoot", // Homepage
|
||||||
|
ControlPluginProgramOptions // Free function which declares custom program options for the
|
||||||
|
// plugin signature: () ->
|
||||||
|
// boost::optional<boost::program_options::options_description>
|
||||||
)
|
)
|
||||||
|
|
||||||
} /* namespace plugins */
|
} /* namespace plugins */
|
||||||
|
Reference in New Issue
Block a user