Author Topic: Pre / Post Build in Codeblocks 10.5  (Read 5638 times)

Offline Oleg_Sam

  • Multiple posting newcomer
  • *
  • Posts: 28
Pre / Post Build in Codeblocks 10.5
« 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7176
    • My Best Post
Re: Pre / Post Build in Codeblocks 10.5
« Reply #1 on: June 11, 2010, 04:51:15 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.codeblocks.org/index.php/topic,9136.0.html
http://forums.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.
« Last Edit: June 11, 2010, 05:10:14 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Pre / Post Build in Codeblocks 10.5
« Reply #2 on: June 11, 2010, 05:21:25 pm »
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.

Offline Oleg_Sam

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: Pre / Post Build in Codeblocks 10.5
« Reply #3 on: July 16, 2010, 08:00:47 am »
Pre and Post Build settings must be individual settings for external makefile and internal CodeBlocks settings. This is to let reality flexibility.