tdaq-develop-2025-02-12
version.h
1 #ifndef _CodeEditor_version_h_
2 #define _CodeEditor_version_h_
3 
4 #include "config/PackageInfo.h"
5 
6 #define MYPACKAGE_VERSION_MAJOR OTSDAQ_MAJOR_VERSION
7 #define MYPACKAGE_VERSION_MINOR OTSDAQ_MINOR_VERSION
8 #define MYPACKAGE_VERSION_PATCH OTSDAQ_PATCH_VERSION
9 #undef MYPACKAGE_PREVIOUS_VERSIONS
10 
11 #define MYPACKAGE_VERSION_CODE \
12  PACKAGE_VERSION_CODE( \
13  MYPACKAGE_VERSION_MAJOR, MYPACKAGE_VERSION_MINOR, MYPACKAGE_VERSION_PATCH)
14 #ifndef MYPACKAGE_PREVIOUS_VERSIONS
15 #define MYPACKAGE_FULL_VERSION_LIST \
16  PACKAGE_VERSION_STRING( \
17  MYPACKAGE_VERSION_MAJOR, MYPACKAGE_VERSION_MINOR, MYPACKAGE_VERSION_PATCH)
18 #else
19 #define MYPACKAGE_FULL_VERSION_LIST \
20  MYPACKAGE_PREVIOUS_VERSIONS "," PACKAGE_VERSION_STRING( \
21  MYPACKAGE_VERSION_MAJOR, MYPACKAGE_VERSION_MINOR, MYPACKAGE_VERSION_PATCH)
22 #endif
23 
24 namespace CodeEditor
25 {
26 const std::string project = "otsdaq";
27 const std::string package = "CodeEditor";
28 const std::string versions = MYPACKAGE_FULL_VERSION_LIST;
29 const std::string summary = "CodeEditor otsdaq supervisor base class";
30 const std::string description =
31  "Used for CodeEditor supervisor functionality including configuration and state "
32  "transitions.";
33 const std::string authors = "Ryan Rivera, Lorenzo Uplegger";
34 const std::string link = "http://xdaq.web.cern.ch";
35 config::PackageInfo getPackageInfo();
36 void checkPackageDependencies();
37 std::set<std::string, std::less<std::string> > getPackageDependencies();
38 } // namespace CodeEditor
39 
40 #endif