1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
autodarkmode_sources = [
'main.c',
'sun.c',
'extString.c',
'configuration.c',
'iniparser/src/dictionary.c',
'iniparser/src/iniparser.c',
]
autodarkmode_deps = [
dependency('glib-2.0'),
dependency('libgeoclue-2.0', required : get_option('gclue_support')),
]
if get_option('gclue_support').enabled()
add_project_arguments('-DUSE_GCLUE', language: 'c')
endif
executable('autodarkmode', autodarkmode_sources,
dependencies: autodarkmode_deps,
install: true,
link_args: '-lm',
)
|