Author Topic: Global config vs Project config  (Read 227 times)

Offline J_Will

  • Single posting newcomer
  • *
  • Posts: 2
Global config vs Project config
« on: November 24, 2022, 01:43:52 pm »
 Hi,

I'm new on this forum but I use Code::Blocks for many years.
As you know, on Code::Blocks you can configure a compiler in global compiler settings (Toolchain, searchDirectory...) but also in the project settings.
in the case where a compiler is already configured in the global settings for all your projects but for a specific project you need to declare another compiler (with also other libraries) what is the behavior in this case ?
Is ther any primary compiler and a secondary compiler ? is there a conflict between the 2 compilers ? One of the two compilers is ignored ?

Thank you in advance for your answer.
J-Will 

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1209
Re: Global config vs Project config
« Reply #1 on: November 24, 2022, 02:19:08 pm »
If it really is "another compiler" they will not interfere.

Offline J_Will

  • Single posting newcomer
  • *
  • Posts: 2
Re: Global config vs Project config
« Reply #2 on: November 24, 2022, 02:20:51 pm »
Ok thank you but what compiler will be used during compilation ? The one declared inside the project ?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1209
Re: Global config vs Project config
« Reply #3 on: November 24, 2022, 03:15:52 pm »
Yes.