Skip to content
Snippets Groups Projects
Commit a4b32bb3 authored by Frank Gaede's avatar Frank Gaede
Browse files

added version macros and increased version to v00-15

parent c16863a0
No related branches found
No related tags found
No related merge requests found
......@@ -26,9 +26,12 @@ option(DD4HEP_USE_CXX11 "Build DD4hep using c++11" OFF)
#-----------------------------------------------------------------------------------------------------
#
# project version (Major,minor,patch)
# Use the same version numbers in DDSegmentaion/CmakeLists.txt
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# !! Use the same version numbers in DDSegmentaion/CmakeLists.txt !!
# !! and make also sure to change in ./DDCore/include/DD4hep/LCDD.h !!
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
dd4hep_set_version(DD4hep MAJOR 0 MINOR 14 PATCH 0)
dd4hep_set_version(DD4hep MAJOR 0 MINOR 15 PATCH 0)
dd4hep_configure_output( OUTPUT "${PROJECT_BINARY_DIR}" INSTALL "${CMAKE_INSTALL_PREFIX}" )
#
#
......
......@@ -14,6 +14,15 @@
#ifndef DD4HEP_LCDD_LCDD_H
#define DD4HEP_LCDD_LCDD_H
// define version macros for DD4hep
#define DD4HEP_MAJOR_VERSION 0
#define DD4HEP_MINOR_VERSION 15
#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 ) ) )
// Framework includes
#include "DD4hep/Handle.h"
#include "DD4hep/Fields.h"
......
......@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.3 FATAL_ERROR)
project(DDSegmentation)
#fg: version number must be the same as DD4hep !!
set(DDSegmentation_MAJOR_VERSION 0)
set(DDSegmentation_MINOR_VERSION 14)
set(DDSegmentation_MINOR_VERSION 15)
set(DDSegmentation_PATCH_VERSION 0)
set(DDSegmentation_VERSION "${DDSegmentation_MAJOR_VERSION}.${DDSegmentation_MINOR_VERSION}" )
set(DDSegmentation_SOVERSION "${DDSegmentation_MAJOR_VERSION}.${DDSegmentation_MINOR_VERSION}")
......
......@@ -3,6 +3,14 @@
DD4hep ---- Release Notes
=================================
2015-08-27 F.Gaede
- added macros DD4HEP_VERSION_GE(MAJV,MINV) and DD4HEP_VERSION_GT(MAJV,MINV)
to LCDD.h
- increased version number to v00-15
2015-08-20 M.Frank
- DDCore: Modularize/abstract plugin manager
- VolumeManager: Fix bug propagating sensitive detectors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment