Open
Description
Summary
When compiling a c
file, it might have dependencies (its #include
files) which nim doesn't know about - when such dependencies are changed, the C file needs recompilation which currently does not happen.
Description
This could be resolved by adding a parameter to .compile("myfile.c", flags = "...", dependencies = [
myfile1.h, ...]).
- alternatively, a smarter version would discover such dependencies automatically (using gcc -MD
and similar flags, parsing the output)
Alternatives
No response
Examples
No response
Backwards Compatibility
No response
Links
No response