| 1 |
|
| 2 |
project('subproj with includedir', 'c') |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
compile_check = ''' |
| 7 |
#include "incfile.h" |
| 8 |
''' |
| 9 |
|
| 10 |
if not meson.get_compiler('c').compiles(compile_check, name : 'include in subproj', |
| 11 |
include_directories: include_directories('include')) |
| 12 |
error('failed') |
| 13 |
endif |