key4hep / k4FWCore

Core Components for the Gaudi-based Key4hep Framework
Apache License 2.0
10 stars 26 forks source link

Missing version information in CMake configuration #166

Open tmadlener opened 11 months ago

tmadlener commented 11 months ago

There is currently no version information set in the cmake config, something like:

# project version
SET( ${PROJECT_NAME}_VERSION_MAJOR X )
SET( ${PROJECT_NAME}_VERSION_MINOR Y )
SET( ${PROJECT_NAME}_VERSION_PATCH Z )

SET( ${PROJECT_NAME}_VERSION  "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}" )

This makes usage of the tagging script impossible at the moment, and also just makes it hard to use this package downstream in a versioned way.