Having win_bison compile automatically when grammar has been edited
Win flex-bison is a port Flex & Bison tools to the Windows platform
Brought to you by:
lexxmark
Hi,
To get win_bison build without needing CTRL+F7 manual compile, I had to tweak the project file, so that win_bison (resp. win_lex) builds automatically whenever .y (resp. .l) file has been edited :
<propertygroup>
<builddependson>$(BuildDependsOn);BisonTarget;FlexTarget</builddependson>
<disablefastuptodatecheck>true</disablefastuptodatecheck>
</propertygroup>
Seems that VS’s Fast Up-to-Date Check only watches known item types (ClCompile, ClInclude) but ignores FlexTarget and BisonTarget...
Regards,
Anonymous
Diff:
Diff: