version.h 2.05 KB
Newer Older
1
2
// $Id$

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

#ifndef _ptvpi_version_h_
#define _ptvpi_version_h_

#include "config/PackageInfo.h"
// !!! Edit this line to reflect the latest package version !!!

#define CORE_PTVPI_VERSION_MAJOR 1
21
#define CORE_PTVPI_VERSION_MINOR 3
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#define CORE_PTVPI_VERSION_PATCH 0
// If any previous versions available E.g. #define CORE_PTVPI_PREVIOUS_VERSIONS "3.8.0,3.8.1"
#undef CORE_PTVPI_PREVIOUS_VERSIONS


//
// Template macros
//
#define CORE_PTVPI_VERSION_CODE PACKAGE_VERSION_CODE(CORE_PTVPI_VERSION_MAJOR,CORE_PTVPI_VERSION_MINOR,CORE_PTVPI_VERSION_PATCH)
#ifndef CORE_PTVPI_PREVIOUS_VERSIONS
#define CORE_PTVPI_FULL_VERSION_LIST  PACKAGE_VERSION_STRING(CORE_PTVPI_VERSION_MAJOR,CORE_PTVPI_VERSION_MINOR,CORE_PTVPI_VERSION_PATCH)
#else 
#define CORE_PTVPI_FULL_VERSION_LIST  CORE_PTVPI_PREVIOUS_VERSIONS "," PACKAGE_VERSION_STRING(CORE_PTVPI_VERSION_MAJOR,CORE_PTVPI_VERSION_MINOR,CORE_PTVPI_VERSION_PATCH)
#endif 
namespace ptvpi
{
	const std::string project = "core";
    const std::string package  =  "ptvpi";
    const std::string versions = CORE_PTVPI_FULL_VERSION_LIST;
    const std::string summary = "ptuTCP";
    const std::string description = "Verbs based Pipe Interface peer transport";
    const std::string authors = "Luciano Orsini,  Dainius Simelevicius";
    const std::string link = "http://xdaq.web.cern.ch";
    config::PackageInfo getPackageInfo();
    void checkPackageDependencies() ;
    std::set<std::string, std::less<std::string> > getPackageDependencies();
}

#endif