mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-25 08:53:06 +02:00
added option to disable building the utils
When you need both 32 and 64 bit version of the library only one version of the utils is required.
This commit is contained in:
parent
e5286e1495
commit
15ff22c745
@ -125,6 +125,7 @@ path_polkit_action_dir = join_paths(path_datadir, 'polkit-1', 'actions')
|
|||||||
|
|
||||||
with_daemon = get_option('with-daemon')
|
with_daemon = get_option('with-daemon')
|
||||||
with_examples = get_option('with-examples')
|
with_examples = get_option('with-examples')
|
||||||
|
with_util = get_option('with-util')
|
||||||
|
|
||||||
# Provide a config.h
|
# Provide a config.h
|
||||||
cdata = configuration_data()
|
cdata = configuration_data()
|
||||||
@ -142,8 +143,11 @@ subdir('lib')
|
|||||||
# common lib is always required
|
# common lib is always required
|
||||||
subdir('common')
|
subdir('common')
|
||||||
|
|
||||||
# Utilities are always required
|
# Utilities are always required except when having both 64 and 32 bit versions
|
||||||
|
# of libgamemode installed
|
||||||
|
if with_util == true
|
||||||
subdir('util')
|
subdir('util')
|
||||||
|
endif
|
||||||
|
|
||||||
# The daemon can be disabled if necessary, allowing multilib builds of the
|
# The daemon can be disabled if necessary, allowing multilib builds of the
|
||||||
# main library
|
# main library
|
||||||
|
@ -12,3 +12,4 @@ option('with-dbus-service-dir', type: 'string', description: 'Explicitly set the
|
|||||||
# General options
|
# General options
|
||||||
option('with-examples', type: 'boolean', description: 'Build sample programs', value: 'true')
|
option('with-examples', type: 'boolean', description: 'Build sample programs', value: 'true')
|
||||||
option('with-daemon', type: 'boolean', description: 'Build the daemon', value: 'true')
|
option('with-daemon', type: 'boolean', description: 'Build the daemon', value: 'true')
|
||||||
|
option('with-util', type: 'boolean', description: 'Build the utilities', value: 'true')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user