blob: 670b10f39aaecf5ad0bb0794d67d379ccd8fb0ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# Define version only in project, should get inherited by declare_dependency
project('some', 'c', version : '0.1')
somelib = library('some', 'lib.c')
someinc = include_directories('.')
some_dep = declare_dependency(link_with : somelib,
include_directories : someinc)
fakezlib_dep = declare_dependency(link_with : somelib,
include_directories : someinc)
|