Hi,

I have submited 2 new modules on the CMake bug tracker which provides
couple of macros  for Bison/Yacc. It hasn't been reviewed yet by the
CMake crew, but the modules properly work for my use cases. bug num
4018
http://www.cmake.org/Bug/bug.php?op=show&bugid=4018&pos=4
Your feedback would be very useful.

Or you can do it by hand, here is an example:
http://www.cmake.org/cgi-bin/viewcvs.cgi/Source/CMakeLists.txt?root=CMake&view=markup
The interesting part is in the IF clause of the test
IF(CMAKE_REGENERATE_YACCLEX)

CU
--
Tristan Carel
Music with dinner is an insult both to the cook and the violinist.
http://www.tristan-carel.com
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to