Notes |
|
(0005653)
|
Tristan Carel
|
2006-11-02 23:10
|
|
I haven't found any support to these great tools in the cvs.
You can find in attachment modules to support flex/bison for my needs.
I think the documentation is too big and can be easily better and more concise.
If you're interested to put these files on the cvs, please tell me my uglynesses.
Then maybe I should add a wiki page with precise uses cases.
I tested them on linux, darwin, cygwin and vc but not with lot's of different versions for bison and flex.
|
|
|
(0013786)
|
Bill Hoffman
|
2008-10-09 12:35
|
|
|
|
(0013955)
|
justXi
|
2008-10-28 07:07
|
|
Hi,
I tried to use these modules within my probject and had to make a few changes:
- To use the custom command in a subdirectory I replaced "WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}" by "WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}" (in both BISON and FLEX module)
- Within the macro "ADD_FLEX_BISON_DEPENDENCY" I replaced "_TARGET" by "_OUTPUTS" or "_OUTPUT_HEADER, to get it to work.
I will add my new versions.
|
|
|
(0015758)
|
Marcel Loose
|
2009-03-23 09:53
|
|
Hi,
I found an issue with the way that FindBison derives the name of the generated header file. Bison "simply" substitutes *every* character 'c' in the filename's extension with 'h'. So, for example, MyParser.yy will produce the files MyParser.cc and MyParser.hh.
FindBison.cmake, however, only substitutes the first character 'c' with 'h', resulting in MyParser.hc. |
|
|
(0015781)
|
Marcel Loose
|
2009-03-24 04:49
|
|
Hi justXi, and others.
I just uploaded a patch for the 2008-10-28 07:08 version of FindBISON.cmake FindBISON.cmake that fixes the issue I mentioned yesterday. |
|
|
(0016772)
|
Yang Yubo
|
2009-06-29 01:24
|
|
Just upload a zip archive that includes 2008-10-28 07:08 version of FindFLEX.cmake and FindBISON.cmake with gmloose's patch.
These two modules work perfect, really hope can be shipped with CMake by default.
|
|
|
(0016902)
|
Philip Lowman
|
2009-07-18 01:16
|
|
Unless anyone else is interested in doing this (any takers?) I will check-in and volunteer to maintain the latest version of the flex and bison modules. |
|
|
(0017109)
|
Philip Lowman
|
2009-08-13 00:12
|
|
I tested the modules (work great BTW!), added FindPackageHandleStandardArgs, cleaned up some indentation issues, and improved the examples slightly.
I think these will make a nice addition to CMake 2.8. Thank you for sending them along.
Committer: Philip Lowman <philip@yhbt.com>
/cvsroot/CMake/CMake/Modules/FindFLEX.cmake,v <-- FindFLEX.cmake
initial revision: 1.1
/cvsroot/CMake/CMake/Modules/FindBISON.cmake,v <-- FindBISON.cmake
initial revision: 1.1
|
|