[CMake] FIND_PROGRAM Version
hsanson
hsanson at gmail.com
Sun May 25 21:46:58 EDT 2008
I use FIND_PROGRAM to find a grammar parser (ragel) to generate some
source files needed for my project. The problem is that the way ragel is
called (arguments) is different for each mayor version. I need to get
the program mayor version 5.x or 6.x and then set the ADD_COMMAND
arguments accordingly but I have not found a portable way (works in
linux and windows) way to do this.
Does CMake has something like FIND_PROGRAM but that accepts or provides
the program version information??
thanks
Horacio
More information about the CMake
mailing list