[CMake] external tools in visual studio

Philip Lowman philip at yhbt.com
Wed Sep 23 08:25:03 EDT 2009


On Wed, Sep 23, 2009 at 5:52 AM, Hendrik Sattler <post at hendrik-sattler.de>wrote:

> 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.
>

Excellent find!  I don't think add_custom_command supports adding
environment variables though..?

http://public.kitware.com/Bug/view.php?id=9587

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090923/dbcc4f5f/attachment.htm>


More information about the CMake mailing list