Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: martim01 on November 28, 2019, 01:33:14 pm

Title: SourceTrail plugin
Post by: martim01 on November 28, 2019, 01:33:14 pm
I've written a simple plugin to interface with Source Trail.
The source code can be found at https://github.com/martim01/SourceTrail

I've currently on tested on Windows using Code::Blocks 17.12
Title: Re: SourceTrail plugin
Post by: BlueHazzard on November 28, 2019, 01:43:02 pm
You can use your forum login in the wiki and post it there, so it won't get lost :)
Thank you for your support
Title: Re: SourceTrail plugin
Post by: ollydbg on November 29, 2019, 07:31:35 am
It looks like Sourcetrail is now free and open-source software (https://sourcetrail.com/blog/open_source/) 10 days ago.

For C++ language, it based on Clang, see this page: https://github.com/CoatiSoftware/Sourcetrail
Title: Re: SourceTrail plugin
Post by: Pecan on December 01, 2019, 06:56:31 pm
@martim01
In your git .cbp, your second targets' output designation, "debug", is clobbering BrowseTracker.


Code: [Select]
<Target title="debug">
<Option output="../../../devel/share/codeblocks/plugins/BrowseTracker.dll" prefix_auto="0" extension_auto="0" />
<Option object_output="../../../.objs/plugins/contrib/BrowseTracker" />
<Option type="3" />
<Option compiler="gcc" />
<Option parameters="--debug-log --multiple-instance -na -ns -nd -p debug" />
<Option host_application="../../../devel/codeblocks.exe" />
<Option run_host_application_in_terminal="0" />
<Compiler>

Title: Re: SourceTrail plugin
Post by: martim01 on December 02, 2019, 11:32:54 am
I've removed the debug build.
I'd used the BrowseTracker project as a template as I kept getting undefined reference errors using the CodeBlocks project wizard. Completely forgot to change the debug build.