ExecuteCommand is missing in compoptsintf.pas
Original Reporter info from Mantis: m_burkhard@gmx.ch
-
Reporter name:
Original Reporter info from Mantis: m_burkhard@gmx.ch
- Reporter name:
Description:
Since ExecuteBeforCommand and ExecuteBeforCommand is missing in the unit /lazarus/components/ideintf/ompoptsintf.pas, I have modified this unit, as well as the unit /lazarus/ide/compileroptions.pp
Steps to reproduce:
Since I develop an AVR package for the Lazarus IDE, especially ExecuteAfterCommand is needed, because there the call "avrdude" must.
It looks like this:
AProject.LazCompilerOptions.ExecuteAfterCommand := ProjectOptions.AvrdudeCommand.Path + ' -v ' +
'-patmega328p ' +
'-c' + ProjectOptions.AvrdudeCommand.Programmer + ' ' +
' -P/dev/ttyUSB0 -b57600 -D -Uflash:w:Project1.hex:i';
Additional information:
It would be great who the Lazarus team could incorporate. ;)
Mantis conversion info:
- Mantis ID: 34283
- OS: All
- OS Build: All
- Build: 1.9.0 r58935M
- Platform: All
- Version: 1.9 (SVN)
- Fixed in revision: r59006 (#b06f6da4), r59042 (#7a46670f), r59043 (#5df4b7fc), r59268 (#6ab38847)
- Monitored by: » m_burkhard@gmx.ch (m_burkhard@gmx.ch)