There is an issue when codeblocks walks directories that have recursive symlinks in it..
Here's how you recreate the issue in linux:
/dir/Project/prj.cbp
/dir/includes/file.h
/dir/includes/subdir/includes -> ../ (recursive symlink to includes)
from prj.cbp add ../includes/file.h to the project and it will never come back from "Please wait while adding files to project" .. i did some debugging on a fuse mount that i wrote and it keeps requesting the same includes dir over and over again
.. woopsie! a simple fix is to have a symlink to /dir/includes inside of /dir/Project ..
Another bug with symlinks:
add a file that is a in a symlinked directory:
/dir/Project/prj.cbp
/dir/includes/file.h
/dir/Project/includes -> ../includes (symlink)
add /dir/Project/includes/file.h to the project .. double click on the file and it opens .. double click it again and it will open another copy .. bahhhhhhhhhh