version.h 2.47 KB
Newer Older
1
// $Id$
aforrest's avatar
aforrest committed
2
3
4

/*************************************************************************
 * XDAQ Components for Distributed Data Acquisition                      *
5
 * Copyright (C) 2000-2020, CERN.                                        *
aforrest's avatar
aforrest committed
6
 * All rights reserved.                                                  *
7
 * Authors: A. Forrest, L. Orsini and D. Simelevicius                    *
aforrest's avatar
aforrest committed
8
 *                                                                       *
9
10
 * For the licensing terms see LICENSE.                                  *
 * For the list of contributors see CREDITS.                             *
aforrest's avatar
aforrest committed
11
12
13
14
15
16
17
18
19
 *************************************************************************/

#ifndef _sentinel_arc_utils_version_h_
#define _sentinel_arc_utils_version_h_

#include "config/PackageInfo.h"

// !!! Edit this line to reflect the latest package version !!!

20
#define WORKSUITE_SENTINELARCUTILS_VERSION_MAJOR 2
21
#define WORKSUITE_SENTINELARCUTILS_VERSION_MINOR 1
22
23
24
#define WORKSUITE_SENTINELARCUTILS_VERSION_PATCH 0
// If any previous versions available E.g. #define WORKSUITE_SENTINELARCUTILS_PREVIOUS_VERSIONS "3.8.0,3.8.1"
#undef WORKSUITE_SENTINELARCUTILS_PREVIOUS_VERSIONS
aforrest's avatar
aforrest committed
25
26
27
28

//
// Template macros
//
29
30
31
#define WORKSUITE_SENTINELARCUTILS_VERSION_CODE PACKAGE_VERSION_CODE(WORKSUITE_SENTINELARCUTILS_VERSION_MAJOR,WORKSUITE_SENTINELARCUTILS_VERSION_MINOR,WORKSUITE_SENTINELARCUTILS_VERSION_PATCH)
#ifndef WORKSUITE_SENTINELARCUTILS_PREVIOUS_VERSIONS
#define WORKSUITE_SENTINELARCUTILS_FULL_VERSION_LIST  PACKAGE_VERSION_STRING(WORKSUITE_SENTINELARCUTILS_VERSION_MAJOR,WORKSUITE_SENTINELARCUTILS_VERSION_MINOR,WORKSUITE_SENTINELARCUTILS_VERSION_PATCH)
aforrest's avatar
aforrest committed
32
#else 
33
#define WORKSUITE_SENTINELARCUTILS_FULL_VERSION_LIST  WORKSUITE_SENTINELARCUTILS_PREVIOUS_VERSIONS "," PACKAGE_VERSION_STRING(WORKSUITE_SENTINELARCUTILS_VERSION_MAJOR,WORKSUITE_SENTINELARCUTILS_VERSION_MINOR,WORKSUITE_SENTINELARCUTILS_VERSION_PATCH)
aforrest's avatar
aforrest committed
34
35
36
37
#endif 

namespace sentinelarcutils
{
38
	const std::string project = "worksuite";
aforrest's avatar
aforrest committed
39
	const std::string package = "sentinelarcutils";
40
	const std::string versions = WORKSUITE_SENTINELARCUTILS_FULL_VERSION_LIST;
aforrest's avatar
aforrest committed
41
42
43
44
45
	const std::string summary = "Utilities for book-keeping and filtering of alarms and exceptions";
	const std::string description = "";
	const std::string authors = "Andrew Forrest, Luciano Orsini";
	const std::string link = "http://xdaq.web.cern.ch/";
	config::PackageInfo getPackageInfo ();
46
	void checkPackageDependencies () ;
aforrest's avatar
aforrest committed
47
48
49
50
	std::set<std::string, std::less<std::string> > getPackageDependencies ();
}

#endif