Author Topic: Compiling more than one file at once?  (Read 3350 times)

Offline ninja9578

  • Multiple posting newcomer
  • *
  • Posts: 11
Compiling more than one file at once?
« on: January 26, 2010, 05:03:38 pm »
I have 4 cores, it's frustrating for me to see cc1plus.exe running at 25%.  Is there any way to have Code::Blocks / MinGW compile multiple files at once, I have a project that from time to time requires a complete rebuild.  It's 500 source files and takes the better part of an hour to compile fully.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Compiling more than one file at once?
« Reply #1 on: January 26, 2010, 05:28:36 pm »
"Settings -> Compiler and debugger... -> Global compiler settings -> Other settings -> Compiler-independent options -> Number of processes for parallel builds".

I use 3 processes on a core2duo and that works fine.