The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
439 B

project('whole archive', 'c')
add_project_arguments('-I' + meson.source_root(), language : 'c')
cc = meson.get_compiler('c')
if cc.get_id() == 'msvc'
if cc.version().version_compare('<19')
error('MESON_SKIP_TEST link_whole only works on VS2015 or newer.')
endif
endif
subdir('allofme')
subdir('shlib')
subdir('exe')
test('prog', exe)
# link_whole only
subdir('stlib')
subdir('wholeshlib')
subdir('exe2')
test('prog2', exe2)