[CMake] flex/bison modules?

Michael Wild themiwi at gmail.com
Sat Feb 28 09:46:35 EST 2009


On 28. Feb, 2009, at 14:18, Eric Noulard wrote:

> 2009/2/28 j s <j.s4403 at gmail.com>:
>> Hi,
>>
>> Are there packages for finding Flex and Bison available?  I'm  
>> starting a
>> porting effort to windows, and I am hoping there is a way for these  
>> to work
>> in visual studio?
>
> I'm using this one
> http://cvs.savannah.gnu.org/viewvc/certi/scripts/FindLexYacc.cmake?root=certi&view=markup
>
> for a software built on Linux/Makefiles and  Windows/Visual Studio
> then I have a bunch of custom command in the concerned CMakeLists.txt:
>
> http://cvs.savannah.gnu.org/viewvc/certi/libCERTI/CMakeLists.txt?root=certi&view=markup
>
> look for
> #Exec Lex
> in the later file and look around.


I'm using those: http://www.cmake.org/Bug/view.php?id=4018 which also  
add very useful macros for adding flex and bison targets and  
dependencies between them.

Michael


More information about the CMake mailing list