I ported the PBRT (Physically Based Rendering Toolkit) source code into Codeblocks project (not using the custom makefile provided by the PBRT). The the trouble is, the header dependency is not working properly. For example if a cpp file A.cpp includes A_header.h and if i modify A_header.h, and do a build, the A.cpp is not recompiled and the the build system does nothing ! However, if i right click on the line of A.cpp
where it says "include A_header.h" and say "Open header" it opens A_header.h properly. So obviously the system can locate the header file but for some reason, the dependecy of A.cpp on A_header.h is not workign properly at build time.