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:
@@ -64,12 +64,12 @@ endif()
|
|||||||
|
|
||||||
# Jerry standalones
|
# Jerry standalones
|
||||||
if(JERRY_CMDLINE)
|
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)
|
target_link_libraries("jerry" jerry-ext jerry-port-default)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(JERRY_CMDLINE_TEST)
|
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)
|
target_link_libraries("jerry-test" jerry-port-default)
|
||||||
if (JERRY_TEST_STACK_MEASURE)
|
if (JERRY_TEST_STACK_MEASURE)
|
||||||
target_compile_definitions("jerry-test" PRIVATE -DJERRY_TEST_STACK_MEASURE=1)
|
target_compile_definitions("jerry-test" PRIVATE -DJERRY_TEST_STACK_MEASURE=1)
|
||||||
@@ -77,6 +77,6 @@ if(JERRY_CMDLINE_TEST)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(JERRY_CMDLINE_SNAPSHOT)
|
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)
|
target_link_libraries("jerry-snapshot" jerry-port-default)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user