You will need to change destination of objects files.
This option is in project's options -> build targets -> objects output dir
Obviously, C::B will change that for all sources of the defined target.
If you need such behavior for a subset of sources, you will need to define new targets for each subset. Or maybe you can write scripts, but it will probably be harder.