dlang: add test case for root include_directory #9250
parent
b497becc87
commit
a57d6fa51b
4 changed files with 23 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||||
|
project('some', 'd') |
||||||
|
|
||||||
|
project_dep = declare_dependency( |
||||||
|
include_directories: ['.'], |
||||||
|
) |
||||||
|
subdir('some') |
||||||
|
|
@ -0,0 +1,7 @@ |
|||||||
|
void foo() {} |
||||||
|
|
||||||
|
version (Windows) |
||||||
|
{ |
||||||
|
import core.sys.windows.dll; |
||||||
|
mixin SimpleDllMain; |
||||||
|
} |
@ -0,0 +1,8 @@ |
|||||||
|
code_lib = library('code', |
||||||
|
['code.d'], |
||||||
|
dependencies: [project_dep]) |
||||||
|
|
||||||
|
code_dep = declare_dependency( |
||||||
|
link_with: code_lib, |
||||||
|
dependencies: project_dep |
||||||
|
) |
@ -0,0 +1 @@ |
|||||||
|
subdir('dlang') |
Loading…
Reference in new issue