Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: winz on December 12, 2011, 11:48:24 am

Title: always execute option : bug or misunderstood?
Post by: winz on December 12, 2011, 11:48:24 am
Hello ,

In menu project > build option > pre/post build steps
It is possible to set a specific "always execute" box for every target (all/debug/release)

I would always execute some pre/post script for any target and execute some specific script in debug only if taget is not up-to-date

But in my case the state for release and debug are ignored. The main (all target) "always execute" is applied for every target.

Is it a bug or do I misunderstood something?

I am using my own makefile and Nightly builds 7542 (version 7550 is to unstable on my win7/x64)



 
Title: Re: always execute option : bug or misunderstood?
Post by: oBFusCATed on December 15, 2011, 12:59:12 am
I'm not sure I understand your setup.

Can you give a detailed explanation, what exactly are you doing?
Can you provide simple example project?
Title: Re: always execute option : bug or misunderstood?
Post by: winz on December 15, 2011, 09:55:11 am
Sorry I misunderstood. I was expected that the "always execute" option concern the pre-build steps but this option only concern the post-build step

Actually I have a script to manege version number of dll that among other, increment it. I wanted to run this script as a pre-build step only if target is not up to date.
Title: Re: always execute option : bug or misunderstood?
Post by: oBFusCATed on December 15, 2011, 10:33:13 am
So, If I understand correctly, there is no problem?
Title: Re: always execute option : bug or misunderstood?
Post by: winz on December 15, 2011, 10:43:24 am
Yes everything work fine, sorry for this fake
thank you for spending time to answer me