2019-04-19 16:14:03 +08:00
|
|
|
project('cmakeSubTest', ['c', 'cpp'])
|
2019-02-22 04:30:42 +08:00
|
|
|
|
2019-02-23 18:50:46 +08:00
|
|
|
sub_pro = subproject('cmMod', method: 'cmake')
|
|
|
|
sub_dep = sub_pro.get_variable('cmModLib_dep')
|
2019-02-22 04:30:42 +08:00
|
|
|
|
2019-02-23 18:50:46 +08:00
|
|
|
exe1 = executable('main', ['main.cpp'], dependencies: [sub_dep])
|
2019-02-22 04:30:42 +08:00
|
|
|
test('test1', exe1)
|