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.
11 lines
336 B
11 lines
336 B
11 years ago
|
project('subproject', 'c')
|
||
|
|
||
11 years ago
|
if not is_subproject()
|
||
|
error('Claimed to be master project even though we are a subproject.')
|
||
|
endif
|
||
|
|
||
11 years ago
|
i = include_directories('include')
|
||
|
l = shared_library('sublib', 'sublib.c', include_dirs : i, install : true)
|
||
|
t = executable('simpletest', 'simpletest.c', include_dirs : i, link_with : l)
|
||
|
test('plain', t)
|