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
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to