blob: 5efa46afed4dbd7f76af63894a53dc552ec7ac44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
project('cru-deps', 'c', 'cpp')
hello_word_test = '''
#include <stdio.h>
int main() {
printf("Hello world!");
return 0;
}
'''
cc = meson.get_compiler('c')
hello_world_result = cc.run(hello_word_test, name: 'hello world')
if hello_world_result.returncode() != 0
error('Failed to hello world!')
endif
if get_option('cairo').enabled()
subproject('cairo')
endif
if get_option('pango').enabled()
subproject('pango')
endif
|