meson: simplify builtin_immodules build option
Make it a yes/no/auto combo. "yes" means all modules are built into libgtk, "no" that none are and "auto" uses the platform defaults, yes on win32, no otherwise. If we need more we can always extend it later.
This commit is contained in:
@ -7,7 +7,7 @@ foreach l: immodules
|
||||
cond = l.get(2, true)
|
||||
cflags = l.get(3, [])
|
||||
|
||||
if cond and not (builtin_immodules.contains(name) or builtin_all_immodules)
|
||||
if cond and not builtin_immodules
|
||||
shared_module('im-@0@'.format(name),
|
||||
immod_sources,
|
||||
c_args: common_cflags + cflags,
|
||||
|
||||
Reference in New Issue
Block a user