1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00
elinks/src/ecmascript/meson.build

29 lines
759 B
Meson
Raw Normal View History

#INCLUDES += $(SPIDERMONKEY_CFLAGS)
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
srcs += files('ecmascript.cpp', 'localstorage-db.cpp', 'spidermonkey.cpp', 'timer.cpp')
endif
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
CONFIG_ANY_SPIDERMONKEY = true
elif conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY')
CONFIG_ANY_SPIDERMONKEY = true
else
CONFIG_ANY_SPIDERMONKEY = false
endif
if CONFIG_ANY_SPIDERMONKEY
srcs += files('spidermonkey-shared.cpp')
endif
2022-08-01 15:31:07 -04:00
if conf_data.get('CONFIG_MUJS')
srcs += files('ecmascript.cpp', 'localstorage-db.cpp', 'mujs.cpp', 'timer.cpp')
2022-08-01 15:31:07 -04:00
endif
if conf_data.get('CONFIG_QUICKJS')
srcs += files('ecmascript.cpp', 'localstorage-db.cpp', 'quickjs.cpp', 'timer.cpp')
endif
if conf_data.get('CONFIG_LIBDOM')
subdir('libdom')
endif