[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.cdt] Building header files

Can anybody explain the following behavior:

If I have a cpp-file with corresponding header, which is included in cpp-file such as:

A.cpp
A.hpp

When I modify the header A.hpp it gets built when I give the correspondig command (even if A.cpp does not contain any class or code, exept the inclusion statement).
If on the other hand, I do not have A.cpp, and the header is nevertheless included in main file and I modify the header A.hpp, it does not get built. You see the message 'Nothing to build'.
The only way I can get it to build is by making a 'Clear' and then the whole project gets built, which can take minutes!
This problem is driving me nuts.


Thanks