mirror of
https://github.com/NixOS/nix.git
synced 2025-12-06 00:51:00 +01:00
* Automatically determine header file dependencies using the
`findIncludes' function. The current implementation is impure and therefore not correct: it gathers header file dependencies only once for a specific path (due to caching).
This commit is contained in:
parent
fa50c0849e
commit
7d386d5c29
7 changed files with 62 additions and 2 deletions
9
examples/not-so-simple-header-auto/foo/hello.c
Normal file
9
examples/not-so-simple-header-auto/foo/hello.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "fnord/indirect.h"
|
||||
|
||||
int main(int argc, char * * argv)
|
||||
{
|
||||
printf(HELLO " " WHAT "\n");
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue