script folder

This commit is contained in:
2025-11-26 20:25:00 -06:00
parent e28e241485
commit b577e889a1
23 changed files with 29 additions and 120 deletions

View File

@@ -178,7 +178,6 @@ if host_machine.system() != 'emscripten'
else
deps += enet_dep
endif
src += 'qjs_enet.c'
mimalloc_enabled = get_option('mimalloc')
if mimalloc_enabled
@@ -221,44 +220,48 @@ link_args = link
sources = []
src += [ # core
'qjs_blob.c',
'qjs_nota.c',
'monocypher.c',
'qjs_crypto.c',
'qjs_time.c',
'qjs_js.c',
'qjs_miniz.c',
'timer.c',
'qjs_kim.c',
'qjs_utf8.c',
'qjs_fit.c',
'qjs_text.c',
'jsffi.c',
'cell.c',
'wildmatch.c',
'qjs_wildstar.c',
'qjs_qop.c',
'qjs_actor.c',
'qjs_wota.c',
]
src += [ # optional core
'qjs_debug.c',
]
src += [ # os specific
'qjs_os.c',
'qjs_fd.c',
'qjs_socket.c',
]
src += 'qjs_http.c'
src += [ # engine
'qjs_soloud.c',
]
src += ['quickjs.c', 'libregexp.c', 'libunicode.c', 'cutils.c', 'dtoa.c']
scripts = [
'nota.c',
'js.c',
'qop.c',
'wildstar.c',
'fit.c',
'crypto.c',
'text.c',
'utf8.c',
'kim.c',
'time.c',
'miniz.c',
'nota.c',
'debug.c',
'os.c',
'fd.c',
'socket.c',
'http.c',
'enet.c',
'wildstar.c',
]
foreach file: scripts
full_path = join_paths('scripts', file)
sources += files(full_path)
endforeach
srceng = 'source'
includes = [srceng]
@@ -324,10 +327,8 @@ cell = custom_target('cell',
# Install headers for building dynamic libraries using Cell
install_headers('source/cell.h', 'source/jsffi.h')
install_headers('source/blob.h')
install_headers('source/quickjs.h')
install_headers('source/qjs_macros.h')
install_headers('source/qjs_actor.h')
tests = [
'spawn_actor',