Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: simonl on November 29, 2008, 07:16:23 pm

Title: Multi exe file project
Post by: simonl on November 29, 2008, 07:16:23 pm
Hi,

Is there a way to set up a project containing a number of C++ files each of which is built to an .exe file?  If I specify a console project it is assumed they are all to be linked together into one exe.  I could have a project for each file of course but these are test programs - I anticipate having dozens at least by the time the project is complete.

Thanks in advance

Simon
Title: Re: Multi exe file project
Post by: Seronis on November 29, 2008, 07:40:03 pm
custom makefile or having as many build targets in your project as you need or just have as many projects in a workspace as you need.  take your pick.
Title: Re: Multi exe file project
Post by: MortenMacFly on November 29, 2008, 10:07:21 pm
Is there a way to set up a project containing a number of C++ files each of which is built to an .exe file?
Of course. Just create 1..n targets within you project and select the files you want to compile for each target. That's it.