[CMake] get version number from debian/changelog using cmake?

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Jun 30 18:03:07 EDT 2008


On Mon, Jun 30, 2008 at 5:09 PM, Christopher Lang
<christopher.lang at acurana.de> wrote:
>
> Hi,
>
> is there a good or preferred way to extract the debian version number from
> debian/changelog to be used in a config.h.cmake file?

I guess STRING(REPLACE...)

You can get fancy in your regex if from cmake you know the name of the
project...

HTH
-- 
Mathieu


More information about the CMake mailing list