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

2009/2/28 j s <[email protected]>:
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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to