Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Doxygen script plugin
jomeggs:
Thanks, but my only intention was to understand the item...
jomeggs:
@killerbot
You've told that you've started with a doxgen plugin in the past. Maybe I can adopt some of your ideas for my new plugin. Better to do it in this phase than later when I've got everything ready 8)... So don't hesitate to send some short hints to me if you like.
codeur:
This Doxygen script plugin is very useful!
Is it possible to write a modified portable version? I explain:
I am working with a portable Code::Blocks installation. The plugin of course works only on computers where Doxygen (and optionally dot.exe, hhc...) is on the path.
Portable CB would carry the doxygen.exe and dot.exe, etc... executables in a "tool" sub directory of the portable Code::Blocks installation, so the executables would be available wherever portable CB is used.
In order for this to work the script would need to be passed a parameter with the CB installation path (the value of inbuilt variable $(CODEBLOCKS)) so the calls to IO.Execute() in the script could be passed the full path to each executable.
Query:
I absolutely ignorant of CB scripting, but rather resourceful in programming. I feel I could write the modification to build the portable version if someone could explain to me how one can (if one can) pass such parameters to a script.
I searched the wiki, but did not find anything related to this.
Can someone explain how this is done, or point me to the relevant piece of documentation?
jomeggs:
Hi codeur,
actually I'm coding a real doxygen plugin in c++, but this task will take a while, not much spare time on my side. CB scripting is a pain in the arse (sorry CB-developers, it's not your fault :D ) cause you don't have access to everything you need. Or one won't find it in documentation anyway... Beside that, perhaps there is no need to pass parameters to the script. It should be much simpler to use some environment vars which are accessible from scripts as far as I believe.
In CompilerOptionsBase you will find the function GetVar(), that should do the job. Or be patient an wait for the real plugin. I will think about the portable version cause I'm a fan of portable apps too.
Cheers!
Cryogen:
Hi Guys,
Inspired by jomeggs' script I have written a doxygen integration plug-in for Code::Blocks.
Please see http://forums.codeblocks.org/index.php/topic,12052 for details.
Thanks for the script and the inspiration.
Gary.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version