mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2024-11-25 17:50:17 -06:00
add options for building targets
This commit is contained in:
parent
5fec2342ef
commit
658ffea9a7
6
meson_options.txt
Normal file
6
meson_options.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# By default, library and modules (except interfaces) are built
|
||||
|
||||
option('daemon', type: 'boolean', value: 'false', description: 'Build daemon')
|
||||
option('modules', type: 'boolean', value: 'true', description: 'Build modules')
|
||||
option('interfaces', type: 'boolean', value: 'false', description: 'Build interfaces')
|
||||
option('library', type: 'boolean', value: 'true', description: 'Build library')
|
@ -25,4 +25,11 @@ libtuxclocker = shared_library('libtuxclocker',
|
||||
|
||||
subdir('modules')
|
||||
subdir('main')
|
||||
subdir('lib')
|
||||
|
||||
if get_option('library')
|
||||
subdir('lib')
|
||||
endif
|
||||
|
||||
if get_option('daemon')
|
||||
subdir('tuxclockerd')
|
||||
endif
|
||||
|
@ -1,3 +1,8 @@
|
||||
subdir('assignable')
|
||||
subdir('interface')
|
||||
subdir('readable')
|
||||
if get_option('modules')
|
||||
subdir('assignable')
|
||||
subdir('readable')
|
||||
endif
|
||||
|
||||
if get_option('interfaces')
|
||||
subdir('interface')
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user