Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: huzhongshan on August 11, 2010, 02:03:46 am

Title: small bug report
Post by: huzhongshan on August 11, 2010, 02:03:46 am
version 10.05 , winxp

when there two projects in workspace , one is project a , the other is project b . prj a 's build target is debug , the prj b is set to release. If I choose bulid project b , when project b IS compiling , I double click project a , It seems when project b compiled completely , project a build target changes to release .
Title: Re: small bug report
Post by: ollydbg on August 11, 2010, 02:15:44 am
version 10.05 , winxp

when there two projects in workspace , one is project a , the other is project b . prj a 's build target is debug , the prj b is set to release. If I choose bulid project b , when project b IS compiling , I double click project a , It seems when project b compiled completely , project a build target changes to release .

So, you mean: we should forbid the switch b to a, when b is under compiling.
Title: Re: small bug report
Post by: huzhongshan on August 11, 2010, 06:43:13 am
maybe , this method is a solution.
when switch change from a to b , the b's config. should not be changed ( change to a 's build target config).
Title: Re: small bug report
Post by: Jenna on August 11, 2010, 09:21:24 am
It does not happen here.
What happens, is that if b depends on a  and you build b and a gets automatically build, it uses the same build target, that is active in b.