1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-04-18 00:47:36 -04:00
elinks/src/ecmascript/meson.build
Witold Filipczyk 5f87bdbcb2 [meson] meson build scripts.
Not finished yet, but I added to motivate myself and others.
The goal is to get a few seconds faster builds.

autotools still will be available.
2020-09-05 22:06:01 +02:00

20 lines
451 B
Meson

#INCLUDES += $(SPIDERMONKEY_CFLAGS)
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
subdir('spidermonkey')
srcs += files('spidermonkey.c')
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.c')
endif
srcs += files('ecmascript.c')