summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bouchaud (yoz) <yoz@efl.so>2019-01-14 16:45:59 +0100
committerMichael Bouchaud (yoz) <yoz@efl.so>2019-01-14 16:45:59 +0100
commit74fa72c84b0a087f1ee82a5b8e59e1637334a348 (patch)
treedac8eb10464cb7cb0e1311b74c5cbe9de0d87cd1
parent7c45edfcc3998557dc136159b0b6285d1349d1ca (diff)
Add error to invalid project configuration
-rw-r--r--meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 8bbf078..723f03a 100644
--- a/meson.build
+++ b/meson.build
@@ -16,6 +16,18 @@ openweathermap_api_key = get_option('openweathermap-api-key')
16config_h.set_quoted('OPENWEATHERMAP_API_KEY', openweathermap_api_key) 16config_h.set_quoted('OPENWEATHERMAP_API_KEY', openweathermap_api_key)
17 17
18 18
19
20if get_option('sandbox')
21 if get_option('home-install')
22 error('A sandbox gadget can\'t be installed into home directory.')
23 endif
24else
25 if get_option('test')
26 error('Test option is attended to be used with sandbox gadget')
27 endif
28endif
29
30
19dep_e = dependency('enlightenment') 31dep_e = dependency('enlightenment')
20release = dep_e.get_pkgconfig_variable('release') 32release = dep_e.get_pkgconfig_variable('release')
21host_os = host_machine.system() 33host_os = host_machine.system()