diff --git a/CMakeLists.txt b/CMakeLists.txt index 67a43c0b082438133d362777a52292158a884d17..781367b21fb60164ef4ee840c4289c9de23790de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,17 @@ cmake_minimum_required(VERSION 2.8.3 FATAL_ERROR) project(DD4hep) + +# project version +SET( DD4hep_VERSION_MAJOR 0 ) +SET( DD4hep_VERSION_MINOR 1 ) +SET( DD4hep_VERSION_PATCH 0 ) + +SET( DD4hep_VERSION "${DD4hep_VERSION_MAJOR}.${DD4hep_VERSION_MINOR}" ) +SET( DD4hep_SOVERSION "${DD4hep_VERSION_MAJOR}.${DD4hep_VERSION_MINOR}" ) + + + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib) set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) diff --git a/DDCore/CMakeLists.txt b/DDCore/CMakeLists.txt index 7148aa176a68b0a97809cb680c5a920e16429dcd..d3aa9f2f934f88bf53258df5ae128eb9f568a326 100644 --- a/DDCore/CMakeLists.txt +++ b/DDCore/CMakeLists.txt @@ -20,11 +20,16 @@ endif() include(DD4hep_XML_setup) -add_library(DD4hepCore SHARED ${sources}) +add_library(DD4hepCore SHARED ${sources} ) + target_link_libraries(DD4hepCore ${ROOT_LIBRARIES} ${XML_LIBRARIES} Geom Reflex ${libraries}) add_library(DD4hepPlugins SHARED ${plugin_sources}) target_link_libraries(DD4hepPlugins ${ROOT_LIBRARIES} ${XML_LIBRARIES} DD4hepCore Geom Reflex ${libraries}) + + +SET_TARGET_PROPERTIES( DD4hepCore DD4hepPlugins PROPERTIES VERSION ${DD4hep_VERSION} SOVERSION ${DD4hep_SOVERSION}) + #---Rootmap generation-------------------------------------------------------------- dd4hep_generate_rootmap(DD4hepPlugins) #dd4hep_install_library(DD4hepPlugins) diff --git a/DDG4/CMakeLists.txt b/DDG4/CMakeLists.txt index dfdc2993da32256f83e28e87de0739cc1574a97b..ed0fe8dd2b44c1a35458a12b78c836cb0c27b2b8 100644 --- a/DDG4/CMakeLists.txt +++ b/DDG4/CMakeLists.txt @@ -25,6 +25,10 @@ if(NOT DD4HEP_USE_XERCESC) endif() add_library(DD4hepG4 SHARED ${sources}) target_link_libraries(DD4hepG4 DD4hepCore ${ROOT_LIBRARIES} Reflex ${Geant4_LIBRARIES}) + +SET_TARGET_PROPERTIES( DD4hepG4 PROPERTIES VERSION ${DD4hep_VERSION} SOVERSION ${DD4hep_SOVERSION}) + + dd4hep_generate_rootmap(DD4hepG4) #--- install target------------------------------------- diff --git a/doc/release.notes b/doc/release.notes index aa0ea0aa2863fcb98d3510959ac2359b5ae71935..1aca76ff0a17b122a32ebe5eeaca484775d86b3b 100644 --- a/doc/release.notes +++ b/doc/release.notes @@ -1,6 +1,15 @@ DD4hep ---- Release Notes ================================= + -------- +| v00-01 | + -------- + + - first beta release... + + + + 2013/20/03 Markus Frank --------------------------