Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Doxygen plugin

<< < (9/53) > >>

MortenMacFly:

--- Quote from: Cryogen on March 06, 2010, 09:12:43 pm ---I'm hoping to get it into the contrib collection so please let me know if there is anything I need to do before that can happen e.g. setup, standards, build settings, etc.

--- End quote ---
There is:
- The project files need some clean-up (I did this already and can provide you with a patch).
- The update files need some cleanup (do not create a "*.cbplugin" file as contrib plugin)
- It needs to be compilable under Linux using automake, so the "makefile.am's" are missing
- Do not include sdk_precomp.h directly, this is only correct for the core of C::B. Instead, include sdk.h
- I didn't verify the include statements of the plugin so far and whether they are correct in terms of PCH. However, here are the rules that need to apply:
http://wiki.codeblocks.org/index.php?title=Precompiled_headers

However, these are only minor things. Basically the lacking automake is currently the major show-stopper.

Jenna:

--- Quote from: MortenMacFly on March 07, 2010, 05:23:47 pm ---However, these are only minor things. Basically the lacking automake is currently the major show-stopper.

--- End quote ---

I hope I find the time to create it this evening and post the patch here (Just for the automake, nothing else, due to lack of time).

Jenna:

--- Quote from: jens on March 07, 2010, 05:38:03 pm ---
--- Quote from: MortenMacFly on March 07, 2010, 05:23:47 pm ---However, these are only minor things. Basically the lacking automake is currently the major show-stopper.

--- End quote ---

I hope I find the time to create it this evening and post the patch here (Just for the automake, nothing else, due to lack of time).

--- End quote ---

I attached a patch containing the needed stuff for automake and debian (not for rpm-based distros).
The DoxyBlocks sources have to be in "src/plugins/contrib/DoxyBlocks" (the CamelCase is important, otherwise the files have to be fixed accordingly).

[attachment deleted by admin]

Cryogen:

--- Quote from: private_joker on March 07, 2010, 12:32:48 am ---...
Now is working.
...
Yep. Now is working too.

--- End quote ---

Excellent, thanks.


--- Quote from: private_joker on March 07, 2010, 12:32:48 am ---I know it sounds a bit pedantic but:

ExtractDocs.cpp:565


--- Code: ---if(sText.Length() > 0)
--- End code ---

I think

--- Code: ---if(!sText.IsEmpty())
--- End code ---
is better  :)

--- End quote ---

Roger, thanks.

Cryogen:
 
  Hey there,


--- Quote from: PizzaNapoli on March 07, 2010, 01:17:59 pm ---I have the same problem as "codeur" in "Reply #12".

Unfortunately I can't install that plugin.

I use this CB version: Release 8.02 (2008-02-27 19:55:16) gcc 4.2.1 Windows/unicode on a Windows XP SP2

Now I'm not sure if this problem was solved, and if yes how ?

--- End quote ---

As noted in another post, I think there is little chance of it working in vanilla 8.02. You will probably need to build C::B yourself to get it working, at this stage. There's plenty of help here in the forum and on the wiki to get you going.

Cheers,

  Gary.


Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version