MantisBT - CMake
View Issue Details
0010285CMakeModulespublic2010-02-13 18:052016-06-10 14:31
Hilton Medeiros 
Philip Lowman 
normalminoralways
closedmoved 
CMake-2-8 
 
0010285: [FindBISON] Bison extra headers
Hello,

as I said in the mailing list, while using the bison interface for C++, bison generates some extra headers that are ignored by the FindBISON module:

location.hh
position.hh
stack.hh

I think it may be tricky to solve this in the module because these files will be generated in two cases:

1) when I define in my bison grammar file which skeleton I will use like this:
%skeleton "lalr1.cc"
2) when I use the compile time option --skeleton=lalr1.cc

Because of this, I believe the simplest approach would be to test if one of these files exists. They are copied to the same folder of the generated parser .hpp and .cpp and always have the same names.

Kind regards,
Hilton
No tags attached.
Issue History
2010-02-13 18:05Hilton MedeirosNew Issue
2010-12-15 07:25David ColeAssigned To => Philip Lowman
2010-12-15 07:25David ColeStatusnew => assigned
2016-06-10 14:27Kitware RobotNote Added: 0041654
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0041654)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.