parent
0f568cc8d5
commit
dadf6e2233
16 changed files with 62 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||||||
|
project('framework dependency with version') |
||||||
|
# do individual frameworks have a meaningful version to test? And multiple frameworks might be listed... |
||||||
|
# otherwise we're not on OSX and this will definitely fail |
||||||
|
dep = dependency('appleframeworks', modules: 'foundation', version: '>0') |
@ -0,0 +1,9 @@ |
|||||||
|
project('gl dependency with version', 'c') |
||||||
|
|
||||||
|
host_system = host_machine.system() |
||||||
|
if host_system != 'windows' and host_system != 'darwin' |
||||||
|
error('Test only fails on Windows and OSX') |
||||||
|
endif |
||||||
|
|
||||||
|
# gl dependency found via system method doesn't have a meaningful version to check |
||||||
|
dep = dependency('gl', method: 'system', version: '>0') |
@ -0,0 +1,3 @@ |
|||||||
|
project('threads dependency with version', 'c') |
||||||
|
# threads dependency doesn't have a meaningful version to check |
||||||
|
dep = dependency('threads', version: '>0') |
@ -0,0 +1,3 @@ |
|||||||
|
project('gtest dependency with version', ['c', 'cpp']) |
||||||
|
# discovering gtest version is not yet implemented |
||||||
|
dep = dependency('gtest', version: '>0') |
Loading…
Reference in new issue