I should probably start another thread, but since I"m here...
It seems CB can't handle project names with embedded spaces (at least on the Mac). When I try to run one I get:
Last login: Fri Feb 7 17:07:11 on ttys005
[1] ~% /bin/sh -c '/Applications/Utilities/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Volumes/Projects/CodeBlocks/Binary Search/bin/Debug/Binary Search '
sh: /Volumes/Projects/CodeBlocks/Binary: No such file or directory
The spaces inside the command string being sent to the shell need to be quoted or otherwise escaped.