User forums > Using Code::Blocks

Project dependencies and rebuild

(1/2) > >>

BlueHazzard:
Hi,
the Thread search plugin has a dependency on the wxCustomButton in wxSmith. If i rebuild the Thread search plugin, the wxSmith code gets also rebuild...
Is this intended? I personally think this is overkill...

stahta01:
wxCustomButton is in wxContribItems

I think an external dependency would be better.

Tim S.

BlueHazzard:
A ok, i see there are two things...

1) A Project dependency: (Project->Propterties->Project dependencies) This is set to the wxWidgets-contrib Items
2) A external dependency: (Project->Properties->Dependencies) This is set to
--- Code: ---..\..\..\devel31_64\wxcustombutton.dll
--- End code ---


The first triggers a rebuild, the second not.
So my suggestion is to remove the first...

oBFusCATed:
Why? Why would you want to break a clean build if thread-search is the active project?

p.s. Keep in mind that I've heavily modified the thread search plugin, so changing it at this moment is not a good idea.

BlueHazzard:

--- Quote from: oBFusCATed on April 21, 2020, 09:59:39 am ---Why? Why would you want to break a clean build if thread-search is the active project?

--- End quote ---

Why would i want to rebuild the wxContribItems if i rebuild the Thread search plugin? If you rebuild codeblocks, wxWidgets wont need to be rebuild... The same here if i rebuild Thread search, why do i want to rebuild the wxContribItems? The other way around yes, if i rebuild wxContribItems, i also want to rebuild ThreadSearch...

Navigation

[0] Message Index

[#] Next page

Go to full version