Rename unix to jerry for entrance files. (#4536)

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
Yonggang Luo 2021-02-04 20:13:57 +08:00 committed by GitHub
parent e7d11eaf9e
commit 982cd08083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View File

@ -64,12 +64,12 @@ endif()
# Jerry standalones
if(JERRY_CMDLINE)
jerry_create_executable("jerry" "main-unix.c" "main-utils.c" "main-options.c" "cli.c")
jerry_create_executable("jerry" "main-jerry.c" "main-utils.c" "main-options.c" "cli.c")
target_link_libraries("jerry" jerry-ext jerry-port-default)
endif()
if(JERRY_CMDLINE_TEST)
jerry_create_executable("jerry-test" "main-unix-test.c" "benchmarking.c")
jerry_create_executable("jerry-test" "main-jerry-test.c" "benchmarking.c")
target_link_libraries("jerry-test" jerry-port-default)
if (JERRY_TEST_STACK_MEASURE)
target_compile_definitions("jerry-test" PRIVATE -DJERRY_TEST_STACK_MEASURE=1)
@ -77,6 +77,6 @@ if(JERRY_CMDLINE_TEST)
endif()
if(JERRY_CMDLINE_SNAPSHOT)
jerry_create_executable("jerry-snapshot" "main-unix-snapshot.c" "cli.c")
jerry_create_executable("jerry-snapshot" "main-jerry-snapshot.c" "cli.c")
target_link_libraries("jerry-snapshot" jerry-port-default)
endif()