[CMake] external tools in visual studio

Hendrik Sattler post at hendrik-sattler.de
Wed Sep 23 05:52:14 EDT 2009


Zitat von Philip Lowman <philip at yhbt.com>:
> FWIW, FindFLEX.cmake and FindBISON.cmake were both recently checked into
> CMake CVS and might be worth a look.
>
> http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindFLEX.cmake?root=CMake&view=log
> http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindBISON.cmake?root=CMake&view=log
>
> The FindBISON module will suffer the same problem as posted above.  Someone
> could a patch into the bison people to allow the full path to m4 to be
> specified as a command line option?

AFAIK, this is possible with environment variables BISON_M4 or M4, see:
http://osdir.com/ml/parsers.bison.bugs/2007-05/msg00012.html

If that works, maybe the standard bison call should be replaced with a  
call to a cmake script that sets this variable correctly.

HS





More information about the CMake mailing list