User forums > Using Code::Blocks

One workspace; two projects

<< < (2/2)

mariocup:
Can you attach a small example?

trafalgrar:
Sure, check an attachment for example workspace.

If I modify main.cpp in the DEP_LIB and if I want to have a new library to be compiled into the DEP_APP, I have to either rebuild the the DEP_APP or rebuild DEP_LIB first and then DEP_APP. In MSVC for example such dependencies work that I need to build [ not rebuild! ] only DEP_APP [ IDE checks all dependant projects if they are up to date ]. CB seems it doesn't check this properly.

[attachment deleted by admin]

killerbot:
last week I had a minor chat with the Don about this, I was gonna experiment with this, since waht I recall was that there were issues, and I think this is an important one to solve, will make CB a real build system then and will be very good for usability since CB then does what most users will expect from it.

orel:
To me and for the workspace you uploaded, that works with the expected behaviour.
 I mean before building DEP_APP (modified or not) CB will first look if DEP_LIB is up_to_date, and compile it if it's not.
Config for that : WIN XP SP2, CB (svn 4564), gcc compiler


But i remember having this problem sometimes in the past too.

Navigation

[0] Message Index

[*] Previous page

Go to full version