parent
4143c7bceb
commit
ba4324ab9d
6 changed files with 25 additions and 0 deletions
@ -0,0 +1,8 @@ |
||||
project('Include Here', 'c') |
||||
|
||||
# The layout with the .h file in . and the .c files in src/ is critical to |
||||
# tickle the bug #5847 |
||||
|
||||
inc = include_directories('.') |
||||
|
||||
subdir('src') |
@ -0,0 +1 @@ |
||||
int rOne(void); |
@ -0,0 +1,5 @@ |
||||
#include "rone.h" |
||||
|
||||
int main() { |
||||
return rOne(); |
||||
} |
@ -0,0 +1,6 @@ |
||||
t = executable( |
||||
'main', |
||||
['main.c', 'rone.c'], |
||||
include_directories : inc, |
||||
implicit_include_directories : false, |
||||
) |
@ -0,0 +1,3 @@ |
||||
int rOne(void) { |
||||
return 1; |
||||
} |
Loading…
Reference in new issue