Page 1 of 1
Build files with bison/flex
Posted: Wed Sep 03, 2008 12:50 pm
by screetch
I use bison/flex files, I wonder if it would be easy to add a custom build rule for different files ? I will do it if it's not too hard and doesn't exist
Re: Build files with bison/flex
Posted: Wed Sep 03, 2008 12:57 pm
by eranif
screetch wrote:I use bison/flex files, I wonder if it would be easy to add a custom build rule for different files ? I will do it if it's not too hard and doesn't exist
The entire codelite code completion is based on yacc/flex so this is one of the first things I took care of...
Have a look here:
http://codelite.org/LiteEditor/ProjectSettings
At the bottom of the page (search for the string: Custom Build Page) there is an example of how to add custom steps rules for yacc/flex
The other alternative is:
You can always set a simple 'PreBuild' commands, but that will cause a regeneration of the modified file for each build...
Eran
Re: Build files with bison/flex
Posted: Wed Sep 03, 2008 1:04 pm
by screetch
Nice
thanks a lot.