Skip to content
Snippets Groups Projects
Version.h.in 1.2 KiB
Newer Older
//==========================================================================
Markus Frank's avatar
Markus Frank committed
//  AIDA Detector description implementation 
//--------------------------------------------------------------------------
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
// All rights reserved.
//
// For the licensing terms see $DD4hepINSTALL/LICENSE.
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
//
// Author     : A.Sailer
//
//==========================================================================
#ifndef DD4HEP_VERSION_H
#define DD4HEP_VERSION_H 1

// define version macros for DD4hep
#define DD4HEP_MAJOR_VERSION @DD4hep_VERSION_MAJOR@
#define DD4HEP_MINOR_VERSION @DD4hep_VERSION_MINOR@

#define DD4HEP_VERSION_GE(MAJV,MINV)  ( (  DD4HEP_MAJOR_VERSION  > MAJV ) || \
                                        ( (DD4HEP_MAJOR_VERSION == MAJV ) && \
                                          (DD4HEP_MINOR_VERSION >= MINV ) ) )

#define DD4HEP_VERSION_GT(MAJV,MINV)  ( (  DD4HEP_MAJOR_VERSION  > MAJV ) || \
                                        ( (DD4HEP_MAJOR_VERSION == MAJV ) && \
                                          (DD4HEP_MINOR_VERSION >  MINV ) ) )


#endif // DD4HEP_VERSION_H