Remove file(GLOB ...) usage from CMakeLists.txt (#4427)

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2021-01-12 10:47:36 +01:00
committed by GitHub
parent 5cef002ed6
commit 4399744588
9 changed files with 507 additions and 36 deletions
+19 -7
View File
@@ -33,13 +33,25 @@ if(FEATURE_INIT_FINI)
endif()
# Source directories
file(GLOB SOURCE_EXT
arg/*.c
common/*.c
debugger/*.c
handle-scope/*.c
handler/*.c
module/*.c)
set(SOURCE_EXT
arg/arg-js-iterator-helper.c
arg/arg-transform-functions.c
arg/arg.c
debugger/debugger-common.c
debugger/debugger-rp.c
debugger/debugger-serial.c
debugger/debugger-sha1.c
debugger/debugger-tcp.c
debugger/debugger-ws.c
handle-scope/handle-scope-allocator.c
handle-scope/handle-scope.c
handler/handler-assert.c
handler/handler-gc.c
handler/handler-print.c
handler/handler-register.c
handler/handler-resource-name.c
module/module.c
)
add_library(${JERRY_EXT_NAME} ${SOURCE_EXT})