Open liuxd889898 opened 5 months ago
"But not" what? Can you please provide a full description of the issue and provide an example project. Figuring out what should be compiled is usually handled by the build tools so it might not even be related to CodeLite. Does it work if you build externally?
@liuxd889898 :
Verify that you have set "Generate dependencies files (.o.d)" in Build settings | Advanced That options is required for your workflow.
If that doesn't fix your issue, which generator do you use?
@AJenbo : I have fixed dependencies issue 5 years ago in the Makefile generator I can reproduce issue now by un-checking above option.
With minimal project: main.cpp
#include "header.h"
int main() {}
header.h
//#error "test"
//#error "test"
I think "Generate dependencies files" should be ticked by default - it is very unintuitive behaviour to have projects not recompile when you edit header files, and I seen a good reason to turn it off.
What happened?
In the lastest version of codelite 17.9.0, If only .h file is modified, the cpp file which include the modified .h file should be rebuild, but not.
Version
Other
Operating system
Windows 10
Steps to reproduce
No response
Relevant log output
No response