Re: [CMake] how to get the version of a library

2009-04-27 Thread Tyler Roscoe
On Tue, Apr 28, 2009 at 10:12:17AM +0800, brice rebsamen wrote: > >>>How to know the version of an installed library? My code has #if > >>>macros to handle different APIs. So I would need to get the version > >>>and set 2 variables (MAJOR and MINOR) and pass them to the compiler > >>>(-D). > >>>

Re: [CMake] how to get the version of a library

2009-04-27 Thread brice rebsamen
brice rebsamen wrote: Ralf Habacker wrote: brice rebsamen schrieb: How to know the version of an installed library? My code has #if macros to handle different APIs. So I would need to get the version and set 2 variables (MAJOR and MINOR) and pass them to the compiler (-D). To be more precis

Re: [CMake] how to get the version of a library

2009-04-23 Thread Ralf Habacker
brice rebsamen schrieb: How to know the version of an installed library? My code has #if macros to handle different APIs. So I would need to get the version and set 2 variables (MAJOR and MINOR) and pass them to the compiler (-D). To be more precise, I am interested in Player/Stage. One way to

[CMake] how to get the version of a library

2009-04-22 Thread brice rebsamen
How to know the version of an installed library? My code has #if macros to handle different APIs. So I would need to get the version and set 2 variables (MAJOR and MINOR) and pass them to the compiler (-D). To be more precise, I am interested in Player/Stage. One way to get the version is to r