User forums > Using Code::Blocks
Multi exe file project
(1/1)
simonl:
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
Seronis:
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.
MortenMacFly:
--- Quote from: simonl on November 29, 2008, 07:16:23 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?
--- End quote ---
Of course. Just create 1..n targets within you project and select the files you want to compile for each target. That's it.
Navigation
[0] Message Index
Go to full version