[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] get version number from debian/changelog using cmake?
From:       "Mathieu Malaterre" <mathieu.malaterre () gmail ! com>
Date:       2008-06-30 22:03:07
Message-ID: bf0c3b3f0806301503n173c74afgd7c203b8699f04b9 () mail ! gmail ! com
[Download RAW message or body]

On Mon, Jun 30, 2008 at 5:09 PM, Christopher Lang
<christopher.lang@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
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic