Build files with bison/flex
-
- CodeLite Curious
- Posts: 6
- Joined: Wed Sep 03, 2008 11:44 am
- Contact:
Build files with bison/flex
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
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Build files with bison/flex
The entire codelite code completion is based on yacc/flex so this is one of the first things I took care of...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
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
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 6
- Joined: Wed Sep 03, 2008 11:44 am
- Contact:
Re: Build files with bison/flex
Nice thanks a lot.