News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Pre / Post Build in Codeblocks 10.5

Started by Oleg_Sam, June 11, 2010, 04:28:40 PM

Previous topic - Next topic

Oleg_Sam

Why the Pre / Post builds are not disabled when using External Makefile??  May be It's wrong.. this must be disabled when using external Makefile. In codeblocks 8.02 this disabled... Why in codeblocks 10.5 is not disabled?

stahta01

#1
Quote from: Oleg_Sam on June 11, 2010, 04:28:40 PM
Why the Pre / Post builds are not disabled when using External Makefile??  May be It's wrong.. this must be disabled when using external Makefile. In codeblocks 8.02 this disabled... Why in codeblocks 10.5 is not disabled?

Most likely someone thought the exact opposite of the way you do.
If you put nothing in the steps, why would it matter if they are enabled or disabled?

Searching finds the your view in these threads
http://forums.next.codeblocks.org/index.php/topic,9136.0.html
http://forums.next.codeblocks.org/index.php/topic,4280.0.html

The opposite view in:
Could not find any; maybe it is a bug/accidental change.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

Why should it be an error to enable pre and postbuild steps ?

If they are enabled you gain a lot flexibility, but lose nothing.
As Tim wrote, if the steps are empty nothing happens.

Oleg_Sam

Pre and Post Build settings must be individual settings for external makefile and internal CodeBlocks settings. This is to let reality flexibility.