Linux: Make all frontends optional
This commit is contained in:
parent
0479afb877
commit
b400093e3c
|
@ -246,8 +246,12 @@ libdesmume = static_library('desmume',
|
|||
link_with: colorspacehandler_simd,
|
||||
)
|
||||
|
||||
subdir('cli')
|
||||
subdir('gtk')
|
||||
if get_option('glade')
|
||||
if get_option('frontend-cli')
|
||||
subdir('cli')
|
||||
endif
|
||||
if get_option('frontend-gtk')
|
||||
subdir('gtk')
|
||||
endif
|
||||
if get_option('frontend-glade')
|
||||
subdir('gtk-glade')
|
||||
endif
|
||||
|
|
|
@ -3,7 +3,17 @@ option('openal',
|
|||
value: false,
|
||||
description: 'Enable experimental OpenAL microphone input',
|
||||
)
|
||||
option('glade',
|
||||
option('frontend-gtk',
|
||||
type: 'boolean',
|
||||
value: true,
|
||||
description: 'Enable GTK frontend',
|
||||
)
|
||||
option('frontend-cli',
|
||||
type: 'boolean',
|
||||
value: true,
|
||||
description: 'Enable CLI frontend',
|
||||
)
|
||||
option('frontend-glade',
|
||||
type: 'boolean',
|
||||
value: false,
|
||||
description: 'Enable glade frontend',
|
||||
|
|
Loading…
Reference in New Issue