Code::Blocks – how to compile multiple source files

Here is what worked for me:

Go to the left panel that says projects, and right-click on .cpp file. Select properties, then go to build. Check the boxes under the heading Belongs in Targets: “Debug” and “Release”

Leave a Comment